Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use %zu for printing alloc size

  • Loading branch information...
commit 8af96e30784a4c84d3a356d28d605ef6c5f73f4e 1 parent da6d0d6
@Cloudef authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/glhck/src/src/alloc.c
View
2  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();
Please sign in to comment.
Something went wrong with that request. Please try again.