diff options
author | Nicolas Williams <nico@cryptonector.com> | 2013-11-28 14:53:05 -0600 |
---|---|---|
committer | Nicolas Williams <nico@cryptonector.com> | 2013-12-04 18:21:38 -0600 |
commit | ef41d1cb57b521334d3d8f771c9417881d6e0c94 (patch) | |
tree | efbe6acc88bcf9c96b22fbae5d1957f7bb150b32 /jv.c | |
parent | 08b4a34a8ece5917baf25d2b594f03d43aa1c437 (diff) |
Use uint32_t for codepoint in jv_string_append_codepoint()
Diffstat (limited to 'jv.c')
-rw-r--r-- | jv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -658,7 +658,7 @@ jv jv_string_append_buf(jv a, const char* buf, int len) { return a; } -jv jv_string_append_codepoint(jv a, int c) { +jv jv_string_append_codepoint(jv a, uint32_t c) { char buf[5]; int len = jvp_utf8_encode(c, buf); jvp_string_append(&a.val.nontrivial, buf, len); |