Commit af7a0895 authored by Olivier Bertrand's avatar Olivier Bertrand

Fix clang compile error in tabjson.cpp and tabbson.cpp

parent 6239e2a4
...@@ -676,7 +676,7 @@ PBVAL BTUTIL::MakeTopTree(PGLOBAL g, int type) ...@@ -676,7 +676,7 @@ PBVAL BTUTIL::MakeTopTree(PGLOBAL g, int type)
if (!Tp->Row) { if (!Tp->Row) {
// Parse and allocate Objpath item(s) // Parse and allocate Objpath item(s)
char *p, *objpath = PlugDup(g, Tp->Objname); char *p, *objpath = PlugDup(g, Tp->Objname);
char *sep = (Tp->Sep == ':') ? ":[" : ".["; char *sep = (char*)(Tp->Sep == ':' ? ":[" : ".[");
int i; int i;
bool bp = false, b = false; bool bp = false, b = false;
PBVAL objp = NULL; PBVAL objp = NULL;
......
...@@ -1179,7 +1179,7 @@ int TDBJSN::MakeTopTree(PGLOBAL g, PJSON jsp) ...@@ -1179,7 +1179,7 @@ int TDBJSN::MakeTopTree(PGLOBAL g, PJSON jsp)
if (!Val) { if (!Val) {
// Parse and allocate Objname item(s) // Parse and allocate Objname item(s)
char *p, *objpath = PlugDup(g, Objname); char *p, *objpath = PlugDup(g, Objname);
char *sep = (Sep == ':') ? ":[" : ".["; char *sep = (char*)(Sep == ':' ? ":[" : ".[");
int i; int i;
bool bp = false, b = false; bool bp = false, b = false;
PJOB objp; PJOB objp;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment