summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/convbdf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/convbdf.c b/tools/convbdf.c
index 121ca9be8f..513b1d7007 100644
--- a/tools/convbdf.c
+++ b/tools/convbdf.c
@@ -738,7 +738,7 @@ int rotleft(unsigned char *dst, /* output buffer */
if(((height + 7) / 8) * width > dstlen) {
fprintf(stderr, "%s:%d %d x %d overflows %d bytes buffer, needs %d\n",
- __FILE__, __LINE__, width, height, dstlen,
+ __FILE__, __LINE__, width, height, (int)dstlen,
((height + 7) / 8) * width );
return 0;
}