aboutsummaryrefslogtreecommitdiff
path: root/stdlib/tst-limits.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/tst-limits.c')
-rw-r--r--stdlib/tst-limits.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/tst-limits.c b/stdlib/tst-limits.c
index d7ca3ef..265b9db 100644
--- a/stdlib/tst-limits.c
+++ b/stdlib/tst-limits.c
@@ -62,8 +62,8 @@ main (void)
TEST (PAGE_SIZE, "d", getpagesize ());
#endif
- TEST (WORD_BIT, "zd", sizeof (int) * CHAR_BIT);
- TEST (LONG_BIT, "zd", sizeof (long int) * CHAR_BIT);
+ TEST (WORD_BIT, "d", (int) sizeof (int) * CHAR_BIT);
+ TEST (LONG_BIT, "d", (int) sizeof (long int) * CHAR_BIT);
return result;
}