summaryrefslogtreecommitdiff
path: root/storage/connect/tabjson.cpp
diff options
context:
space:
mode:
authorOlivier Bertrand <bertrandop@gmail.com>2021-06-25 11:38:16 +0200
committerOlivier Bertrand <bertrandop@gmail.com>2021-06-25 11:38:16 +0200
commit6239e2a4ec4dc6ef6e99be73b8c5d7ad6e02cfc5 (patch)
tree0fbacc47d658a4d36ba0d16a8ee5cab8780ee459 /storage/connect/tabjson.cpp
parent5c5d60b89781616f9f12fed7f0215de2ea279d0b (diff)
downloadmariadb-git-6239e2a4ec4dc6ef6e99be73b8c5d7ad6e02cfc5.tar.gz
Fix clang compile error in tabjson.cpp and tabbson.cpp
Diffstat (limited to 'storage/connect/tabjson.cpp')
-rw-r--r--storage/connect/tabjson.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/connect/tabjson.cpp b/storage/connect/tabjson.cpp
index b05e4ca2c01..09077ecdf93 100644
--- a/storage/connect/tabjson.cpp
+++ b/storage/connect/tabjson.cpp
@@ -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;