diff options
Diffstat (limited to 'src/oplist.c')
| -rw-r--r-- | src/oplist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/oplist.c b/src/oplist.c index 74c4e0a..b2395a4 100644 --- a/src/oplist.c +++ b/src/oplist.c | |||
| @@ -158,9 +158,9 @@ static int node_to_openstep(node_t node, bytearray_t **outbuf, uint32_t depth, i | |||
| 158 | case PLIST_INT: | 158 | case PLIST_INT: |
| 159 | val = (char*)malloc(64); | 159 | val = (char*)malloc(64); |
| 160 | if (node_data->length == 16) { | 160 | if (node_data->length == 16) { |
| 161 | val_len = snprintf(val, 64, "%"PRIu64, node_data->intval); | 161 | val_len = snprintf(val, 64, "%" PRIu64, node_data->intval); |
| 162 | } else { | 162 | } else { |
| 163 | val_len = snprintf(val, 64, "%"PRIi64, node_data->intval); | 163 | val_len = snprintf(val, 64, "%" PRIi64, node_data->intval); |
| 164 | } | 164 | } |
| 165 | str_buf_append(*outbuf, val, val_len); | 165 | str_buf_append(*outbuf, val, val_len); |
| 166 | free(val); | 166 | free(val); |
