CZapitChannel: use unsigned char instead size_t

This removes some annoying warnings with specific compiler flags.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 71423089b0
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-07-11 (Thu, 11 Jul 2013)



------------------
This commit was generated by Migit
This commit is contained in:
2013-07-11 11:10:16 +02:00
parent d592a3313a
commit 9ea3a071b8
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)