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 5c5d60b commit 6239e2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
@@ -608,7 +608,7 @@ void BSONDISC::AddColumn(PGLOBAL g)
PBVAL BTUTIL::FindRow(PGLOBAL g)
{
char *p, *objpath = PlugDup(g, Tp->Objname);
char *sep = (Tp->Sep == ':') ? ":[" : ".[";
char *sep = (char*)(Tp->Sep == ':' ? ":[" : ".[");
bool bp = false, b = false;
PBVAL jsp = Tp->Row;
PBVAL val = NULL;
@@ -962,7 +962,7 @@ int TDBJSN::EstimatedLength(void)
PJSON TDBJSN::FindRow(PGLOBAL g)
{
char *p, *objpath = PlugDup(g, Objname);
char *sep = (Sep == ':') ? ":[" : ".[";
char *sep = (char*)(Sep == ':' ? ":[" : ".[");
bool bp = false, b = false;
PJSON jsp = Row;
PJVAL val = NULL;

0 comments on commit 6239e2a

Please sign in to comment.