Commit d9d592dd authored by Philipp Stephani's avatar Philipp Stephani

* src/json.c (json_make_string): Add missing cast.

parent db2c9308
Pipeline #1422 passed with stage
in 50 minutes and 29 seconds
......@@ -237,7 +237,7 @@ json_make_string (const char *data, ptrdiff_t size)
struct coding_system coding;
setup_coding_system (Qutf_8_unix, &coding);
coding.mode |= CODING_MODE_LAST_BLOCK;
coding.source = data;
coding.source = (const unsigned char *) data;
decode_coding_object (&coding, Qnil, 0, 0, size, size, Qt);
return coding.dst_object;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment