mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-19 05:07:56 +00:00
Fix 64bit printf formatting
This commit is contained in:
parent
348fc5f23b
commit
800d3c6120
@ -218,7 +218,7 @@ static int restful_meshms_conversationlist_json_content_chunk(struct http_reques
|
|||||||
if (r->u.mclist.rowcount != 0)
|
if (r->u.mclist.rowcount != 0)
|
||||||
strbuf_putc(b, ',');
|
strbuf_putc(b, ',');
|
||||||
strbuf_puts(b, "\n[");
|
strbuf_puts(b, "\n[");
|
||||||
strbuf_sprintf(b, "%u", r->u.mclist.rowcount);
|
strbuf_sprintf(b, "%zu", r->u.mclist.rowcount);
|
||||||
strbuf_putc(b, ',');
|
strbuf_putc(b, ',');
|
||||||
strbuf_json_hex(b, r->sid1.binary, sizeof r->sid1.binary);
|
strbuf_json_hex(b, r->sid1.binary, sizeof r->sid1.binary);
|
||||||
strbuf_putc(b, ',');
|
strbuf_putc(b, ',');
|
||||||
|
Loading…
Reference in New Issue
Block a user