1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

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

This commit is contained in:
Olivier Bertrand
2021-06-25 12:30:10 +02:00
parent 6239e2a4ec
commit af7a0895ac
2 changed files with 2 additions and 2 deletions

View File

@@ -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;