Skip to content
Permalink
Browse files
Fix clang compile error in tabjson.cpp and tabbson.cpp
  • Loading branch information
Buggynours committed Jun 25, 2021
1 parent 6239e2a commit af7a089
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
@@ -676,7 +676,7 @@ PBVAL BTUTIL::MakeTopTree(PGLOBAL g, int type)
if (!Tp->Row) {
// Parse and allocate Objpath item(s)
char *p, *objpath = PlugDup(g, Tp->Objname);
char *sep = (Tp->Sep == ':') ? ":[" : ".[";
char *sep = (char*)(Tp->Sep == ':' ? ":[" : ".[");
int i;
bool bp = false, b = false;
PBVAL objp = NULL;
@@ -1179,7 +1179,7 @@ int TDBJSN::MakeTopTree(PGLOBAL g, PJSON jsp)
if (!Val) {
// Parse and allocate Objname item(s)
char *p, *objpath = PlugDup(g, Objname);
char *sep = (Sep == ':') ? ":[" : ".[";
char *sep = (char*)(Sep == ':' ? ":[" : ".[");
int i;
bool bp = false, b = false;
PJOB objp;

0 comments on commit af7a089

Please sign in to comment.