Commit 6239e2a4 authored by Olivier Bertrand's avatar Olivier Bertrand

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

parent 5c5d60b8
......@@ -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;
......
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