Permalink
Browse files

Use %zu for printing alloc size

  • Loading branch information...
1 parent da6d0d6 commit 8af96e30784a4c84d3a356d28d605ef6c5f73f4e @Cloudef committed Apr 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/glhck/src/src/alloc.c
@@ -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();

0 comments on commit 8af96e3

Please sign in to comment.