diff options
author | Olivier Bertrand <bertrandop@gmail.com> | 2021-06-25 11:38:16 +0200 |
---|---|---|
committer | Olivier Bertrand <bertrandop@gmail.com> | 2021-06-25 11:38:16 +0200 |
commit | 6239e2a4ec4dc6ef6e99be73b8c5d7ad6e02cfc5 (patch) | |
tree | 0fbacc47d658a4d36ba0d16a8ee5cab8780ee459 /storage/connect/tabjson.cpp | |
parent | 5c5d60b89781616f9f12fed7f0215de2ea279d0b (diff) | |
download | mariadb-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.cpp | 2 |
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; |