mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
neutrino: fix 32<->64bit format string warnings
use portable C99 format string macros for 64bit types to fix many warnings when compiling for 64bit architectures, add some (int) casts for size_t
This commit is contained in:
committed by
Jacek Jendrzej
parent
9be5730183
commit
4dbeb3a31e
@@ -5,6 +5,7 @@
|
||||
* 2003 by thegoodguy <thegoodguy@berlios.de>
|
||||
*
|
||||
* Copyright (C) 2011-2012 CoolStream International Ltd
|
||||
* Copyright (C) 2007-2009, 2011-2012 Stefan Seyfried
|
||||
*
|
||||
* License: GPLv2
|
||||
*
|
||||
@@ -239,7 +240,7 @@ printf(" [%s cache] old section for table 0x%02x sid 0x%04x section 0x%02x last
|
||||
#endif
|
||||
if(seenSections == calcedSections) {
|
||||
#ifdef DEBUG_COMPLETE
|
||||
xcprintf(" %s cache %02x complete: %d", name.c_str(), filters[filter_index].filter, seenSections.size());
|
||||
xcprintf(" %s cache %02x complete: %d", name.c_str(), filters[filter_index].filter, (int)seenSections.size());
|
||||
#endif
|
||||
/* FIXME this algo fail sometimes:
|
||||
* [cnThread cache] new section for table 0x4e sid 0x0a39 section 0x00 last 0x00 slast 0x00 seen 1 calc 1
|
||||
|
Reference in New Issue
Block a user