Better fix of the warnings in the format string.

This commit is contained in:
Steve Checkoway
2003-11-17 01:45:29 +00:00
parent db351f0edb
commit 258982f934
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -277,7 +277,7 @@ bool StageStats::FullCombo( PlayerNumber pn ) const
{ {
if( ComboList[pn].size() != 1 ) 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; return false;
} }
@@ -57,10 +57,10 @@ LightsDriver_LinuxSerial::LightsDriver_LinuxSerial()
tcsetattr(fd, TCSANOW, &my_termios); tcsetattr(fd, TCSANOW, &my_termios);
LOG->Info("Lights info:"); LOG->Info("Lights info:");
LOG->Info(" new cflag=%08x", unsigned(my_termios.c_cflag)); LOG->Info(" new cflag=%08lx", my_termios.c_cflag);
LOG->Info(" new oflag=%08x", unsigned(my_termios.c_oflag)); LOG->Info(" new oflag=%08lx", my_termios.c_oflag);
LOG->Info(" new iflag=%08x", unsigned(my_termios.c_iflag)); LOG->Info(" new iflag=%08lx", my_termios.c_iflag);
LOG->Info(" new lflag=%08x", unsigned(my_termios.c_lflag)); LOG->Info(" new lflag=%08lx", my_termios.c_lflag);
// c_line dosen't seem to be defined in every termios.h file // c_line dosen't seem to be defined in every termios.h file
// Is it really needed in info? // Is it really needed in info?
#if 0 #if 0