Skip to content

Commit

Permalink
fix misuse of %u to printf values of type size_t
Browse files Browse the repository at this point in the history
  • Loading branch information
gerdr committed May 13, 2012
1 parent 902fed3 commit 4e5de26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/auto/sizes/test_c.in
@@ -1,5 +1,5 @@
/*
Copyright (C) 2002-2009, Parrot Foundation.
Copyright (C) 2002-2011, Parrot Foundation.

figure out some Configure settings
*/
Expand All @@ -10,7 +10,7 @@ figure out some Configure settings
int
main(int argc, char **argv)
{
printf("%u\n", sizeof (@TEMP_type@));
printf("%u\n", (unsigned)sizeof (@TEMP_type@));
return EXIT_SUCCESS;
}

Expand Down

0 comments on commit 4e5de26

Please sign in to comment.