diff --git a/stepmania/src/StageStats.cpp b/stepmania/src/StageStats.cpp index 9e1e19e911..7435f27293 100644 --- a/stepmania/src/StageStats.cpp +++ b/stepmania/src/StageStats.cpp @@ -277,7 +277,7 @@ bool StageStats::FullCombo( PlayerNumber pn ) const { if( ComboList[pn].size() != 1 ) { - LOG->Trace("FullCombo(%i): %i != 1", pn, int(ComboList[pn].size())); + LOG->Trace("FullCombo(%i): %lu != 1", pn, ComboList[pn].size()); return false; } diff --git a/stepmania/src/arch/Lights/LightsDriver_LinuxSerial.cpp b/stepmania/src/arch/Lights/LightsDriver_LinuxSerial.cpp index 8dce0b93df..a5bb027ece 100644 --- a/stepmania/src/arch/Lights/LightsDriver_LinuxSerial.cpp +++ b/stepmania/src/arch/Lights/LightsDriver_LinuxSerial.cpp @@ -57,10 +57,10 @@ LightsDriver_LinuxSerial::LightsDriver_LinuxSerial() tcsetattr(fd, TCSANOW, &my_termios); LOG->Info("Lights info:"); - LOG->Info(" new cflag=%08x", unsigned(my_termios.c_cflag)); - LOG->Info(" new oflag=%08x", unsigned(my_termios.c_oflag)); - LOG->Info(" new iflag=%08x", unsigned(my_termios.c_iflag)); - LOG->Info(" new lflag=%08x", unsigned(my_termios.c_lflag)); + LOG->Info(" new cflag=%08lx", my_termios.c_cflag); + LOG->Info(" new oflag=%08lx", my_termios.c_oflag); + LOG->Info(" new iflag=%08lx", my_termios.c_iflag); + LOG->Info(" new lflag=%08lx", my_termios.c_lflag); // c_line dosen't seem to be defined in every termios.h file // Is it really needed in info? #if 0