mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +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
@@ -1,4 +1,4 @@
|
||||
AM_CPPFLAGS = -fno-rtti -fno-exceptions
|
||||
AM_CPPFLAGS = -fno-rtti -fno-exceptions -D__STDC_FORMAT_MACROS
|
||||
|
||||
INCLUDES = \
|
||||
-I$(top_builddir) \
|
||||
|
@@ -344,7 +344,7 @@ int CRemoteControl::handleMsg(const neutrino_msg_t msg, neutrino_msg_data_t data
|
||||
#endif
|
||||
else if (msg == NeutrinoMessages::EVT_TUNE_COMPLETE) {
|
||||
t_channel_id chid = *(t_channel_id *)data;
|
||||
printf("CRemoteControl::handleMsg: EVT_TUNE_COMPLETE (%016llx)\n", chid);
|
||||
printf("CRemoteControl::handleMsg: EVT_TUNE_COMPLETE (%016" PRIx64 ")\n", chid);
|
||||
if(chid)
|
||||
g_Sectionsd->setServiceChanged( chid, true );
|
||||
else
|
||||
|
Reference in New Issue
Block a user