summaryrefslogtreecommitdiffstats
path: root/src/jplist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/jplist.c')
-rw-r--r--src/jplist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jplist.c b/src/jplist.c
index 9263b36..ca4743c 100644
--- a/src/jplist.c
+++ b/src/jplist.c
@@ -143,9 +143,9 @@ static int node_to_json(node_t node, bytearray_t **outbuf, uint32_t depth, int p
143 case PLIST_INT: 143 case PLIST_INT:
144 val = (char*)malloc(64); 144 val = (char*)malloc(64);
145 if (node_data->length == 16) { 145 if (node_data->length == 16) {
146 val_len = snprintf(val, 64, "%"PRIu64, node_data->intval); 146 val_len = snprintf(val, 64, "%" PRIu64, node_data->intval);
147 } else { 147 } else {
148 val_len = snprintf(val, 64, "%"PRIi64, node_data->intval); 148 val_len = snprintf(val, 64, "%" PRIi64, node_data->intval);
149 } 149 }
150 str_buf_append(*outbuf, val, val_len); 150 str_buf_append(*outbuf, val, val_len);
151 free(val); 151 free(val);