commit: 0679a401e9ef76091c43c113828650b362736d16
parent b6914ef5771bceabc513e4198ea5c2891042b5c9
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Mon, 14 Mar 2022 19:53:03 +0100
bin/sizeof: Fix warnings
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/sizeof.c b/bin/sizeof.c
@@ -13,7 +13,7 @@
static void
print_size(size_t size, char *type)
{
- printf("sizeof(%s) == %d bytes; %d bits\n", type, size, size * CHAR_BIT);
+ printf("sizeof(%s) == %zd bytes; %zd bits\n", type, size, size * CHAR_BIT);
}
int