slim_pro.c: Fix format string related compiler warning

master
Harald Welte 7 years ago
parent effcaa75bf
commit 6a2d224311
  1. 2
      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];