From: Philipp Stephani Date: Tue, 23 Apr 2019 13:31:04 +0000 (+0200) Subject: * src/json.c (json_make_string): Add missing cast. X-Git-Tag: emacs-27.0.90~3125 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d9d592dd44f5782bb66da528d223085a863ab1e2;p=emacs.git * src/json.c (json_make_string): Add missing cast. --- diff --git a/src/json.c b/src/json.c index 33e8125f981..7d6d5314270 100644 --- a/src/json.c +++ b/src/json.c @@ -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; }