Skip to content

Commit

Permalink
Use %zu for printing alloc size
Browse files Browse the repository at this point in the history
  • Loading branch information
Cloudef committed Apr 15, 2012
1 parent da6d0d6 commit 8af96e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/glhck/src/src/alloc.c
Expand Up @@ -237,7 +237,7 @@ GLHCKAPI void glhckMemoryGraph(void)
else if (allocChannel / 1024 != 0)
printf("%-4.2f KiB\n", (float)allocChannel / 1024);
else
printf("%-4lu B\n", allocChannel);
printf("%-4zu B\n", allocChannel);

/* reset color */
_glhckNormal();
Expand Down

0 comments on commit 8af96e3

Please sign in to comment.