diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2019-07-01 00:39:45 +0200 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2019-07-04 10:27:10 +0200 |
commit | bd917e0811f49d649bb5e3c9255aa84845d785ae (patch) | |
tree | 580a3b0df8649a20d4461618e18dabf2f4011cc9 /strings | |
parent | 9c9e0ac73d50782264d2cf52010465b06b5d65e2 (diff) | |
download | mariadb-git-bd917e0811f49d649bb5e3c9255aa84845d785ae.tar.gz |
Fix clang-cl warnings
Diffstat (limited to 'strings')
-rw-r--r-- | strings/json_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/strings/json_lib.c b/strings/json_lib.c index 3763ac4ed54..11ca6f61322 100644 --- a/strings/json_lib.c +++ b/strings/json_lib.c @@ -1865,7 +1865,7 @@ static enum json_types smart_read_value(json_engine_t *je, *value_len= (int) ((char *) je->s.c_str - *value); } - return je->value_type; + return (enum json_types)je->value_type; err_return: return JSV_BAD_JSON; |