diff options
author | Philipp Stephani <phst@google.com> | 2019-04-23 15:31:04 +0200 |
---|---|---|
committer | Philipp Stephani <phst@google.com> | 2019-04-23 15:31:17 +0200 |
commit | d9d592dd44f5782bb66da528d223085a863ab1e2 (patch) | |
tree | da6a2e2b54b905e357d7f16d9bf592bb2edcecd0 | |
parent | db2c9308492a158b9fa97aa9280a7897885f7760 (diff) | |
download | emacs-d9d592dd44f5782bb66da528d223085a863ab1e2.tar.gz |
* src/json.c (json_make_string): Add missing cast.
-rw-r--r-- | src/json.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |