summaryrefslogtreecommitdiffstats
path: root/src/out-limd.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2023-05-13 20:04:19 +0200
committerGravatar Nikias Bassen2023-05-13 20:04:19 +0200
commitaf51970e6b1b9d9e6c8a925b040420e465bc2326 (patch)
treec8e3537703494e7d6a24aa7e4c30d2bf0c54dde7 /src/out-limd.c
parent91c0aa8fa82d3fb42c64b0e46bfa861cada5e47d (diff)
downloadlibplist-af51970e6b1b9d9e6c8a925b040420e465bc2326.tar.gz
libplist-af51970e6b1b9d9e6c8a925b040420e465bc2326.tar.bz2
Add space before PRI* macros, some compilers do not like it
Diffstat (limited to 'src/out-limd.c')
-rw-r--r--src/out-limd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/out-limd.c b/src/out-limd.c
index 0ff9a65..433ae06 100644
--- a/src/out-limd.c
+++ b/src/out-limd.c
@@ -101,9 +101,9 @@ static int node_to_string(node_t node, bytearray_t **outbuf, uint32_t depth, uin
case PLIST_INT:
val = (char*)malloc(64);
if (node_data->length == 16) {
- val_len = snprintf(val, 64, "%"PRIu64, node_data->intval);
+ val_len = snprintf(val, 64, "%" PRIu64, node_data->intval);
} else {
- val_len = snprintf(val, 64, "%"PRIi64, node_data->intval);
+ val_len = snprintf(val, 64, "%" PRIi64, node_data->intval);
}
str_buf_append(*outbuf, val, val_len);
free(val);
@@ -225,9 +225,9 @@ static int node_to_string(node_t node, bytearray_t **outbuf, uint32_t depth, uin
str_buf_append(*outbuf, "CF$UID:", 7);
val = (char*)malloc(64);
if (node_data->length == 16) {
- val_len = snprintf(val, 64, "%"PRIu64, node_data->intval);
+ val_len = snprintf(val, 64, "%" PRIu64, node_data->intval);
} else {
- val_len = snprintf(val, 64, "%"PRIi64, node_data->intval);
+ val_len = snprintf(val, 64, "%" PRIi64, node_data->intval);
}
str_buf_append(*outbuf, val, val_len);
free(val);