Use PRI/SCN modifiers where possible

This commit is contained in:
Vladimir Dubrovin committed 2026-04-08 21:13:31 +03:00
1 parent 483542b914
commit 0381461495
12 files changed
+21 -22

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@
static void pr_unsigned64(struct node *node, CBFUNC cbf, void*cb){
char buf[32];
if(node->value)(*cbf)(cb, buf, sprintf(buf, "%"PRINTF_INT64_MODIFIER"u", *(uint64_t *)node->value));
if(node->value)(*cbf)(cb, buf, sprintf(buf, "%"PRIu64"", *(uint64_t *)node->value));
}
static void pr_integer(struct node *node, CBFUNC cbf, void*cb){