summaryrefslogtreecommitdiffstats
path: root/src/out-plutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/out-plutil.c')
-rw-r--r--src/out-plutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/out-plutil.c b/src/out-plutil.c
index fbed98b..ed71d8f 100644
--- a/src/out-plutil.c
+++ b/src/out-plutil.c
@@ -98,9 +98,9 @@ static int node_to_string(node_t node, bytearray_t **outbuf, uint32_t depth)
98 case PLIST_INT: 98 case PLIST_INT:
99 val = (char*)malloc(64); 99 val = (char*)malloc(64);
100 if (node_data->length == 16) { 100 if (node_data->length == 16) {
101 val_len = snprintf(val, 64, "%"PRIu64, node_data->intval); 101 val_len = snprintf(val, 64, "%" PRIu64, node_data->intval);
102 } else { 102 } else {
103 val_len = snprintf(val, 64, "%"PRIi64, node_data->intval); 103 val_len = snprintf(val, 64, "%" PRIi64, node_data->intval);
104 } 104 }
105 str_buf_append(*outbuf, val, val_len); 105 str_buf_append(*outbuf, val, val_len);
106 free(val); 106 free(val);