summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2015-11-07 15:57:16 +0100
committerHarald Welte <laforge@gnumonks.org>2015-11-07 15:57:16 +0100
commit6a2d2243110c5cb329bfe0e653581b5c811ba542 (patch)
tree801d5dbeabfeb928ff736158cbb3950d2c907648
parenteffcaa75bfd43262f621184c28be2935149965b9 (diff)
slim_pro.c: Fix format string related compiler warning
-rw-r--r--utils/rum-ba/src/lattice/slim_pro.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/rum-ba/src/lattice/slim_pro.c b/utils/rum-ba/src/lattice/slim_pro.c
index 0c0fd73..c5f751d 100644
--- a/utils/rum-ba/src/lattice/slim_pro.c
+++ b/utils/rum-ba/src/lattice/slim_pro.c
@@ -932,7 +932,7 @@ unsigned char GetByte(int a_iCurrentIndex, char a_cAlgo)
* *
*************************************************************/
if((a_iCurrentIndex & 1023) == 0)
- printf("%d bytes done (%d%%)\n", a_iCurrentIndex, (a_iCurrentIndex * 100) / g_ispDataSize);
+ printf("%d bytes done (%zu%%)\n", a_iCurrentIndex, (a_iCurrentIndex * 100) / g_ispDataSize);
if(a_iCurrentIndex >= g_ispDataSize)
return (unsigned char)0xff;
else return g_ispData[a_iCurrentIndex];