Skip to content

Commit dd03cb3

Browse files
author
Alexey Botchkov
committed
MDEV-5313 Improving audit plugin API.
Type conversion bug fixed.
1 parent 5fb4e4a commit dd03cb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

strings/json_lib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1862,7 +1862,7 @@ static enum json_types smart_read_value(json_engine_t *je,
18621862
if (json_skip_level(je))
18631863
goto err_return;
18641864

1865-
*value_len= (char *) je->s.c_str - *value;
1865+
*value_len= (int) ((char *) je->s.c_str - *value);
18661866
}
18671867

18681868
return je->value_type;

0 commit comments

Comments
 (0)