CZapitChannel: use unsigned char instead size_t

This removes some annoying warnings with specific compiler flags.
This commit is contained in:
2013-07-11 11:10:16 +02:00
parent a6c43a62bd
commit 71423089b0
2 changed files with 4 additions and 4 deletions

View File

@@ -202,7 +202,7 @@ void CProgressBar::paintAdvanced()
if (pb_active_width > pb_last_width) {
int step, off;
int b = 0;
uint8_t diff = 0;
uint32_t diff = 0;
for (i = 0; (i < rd) && (i < maxi); i++) {
diff = i * 255 / rd;
if (pb_invert)