Fixed compilation errors and warnings on linux.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12791 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
d0c2339915
commit
6e00d4e141
@ -157,7 +157,7 @@ void Wiimote::printDebugInfo() const
|
||||
{WIIMOTE_BUTTON_HOME, "WIIMOTE_BUTTON_HOME" },
|
||||
}; // wiimote_actions
|
||||
|
||||
const int count = sizeof(wiimote_actions)/sizeof(WiimoteAction);
|
||||
const unsigned int count = sizeof(wiimote_actions)/sizeof(WiimoteAction);
|
||||
for(unsigned int i=0 ; i<count; i++)
|
||||
{
|
||||
if(IS_PRESSED(m_wiimote_handle, wiimote_actions[i].wiimote_action_id))
|
||||
|
@ -78,7 +78,7 @@ public:
|
||||
// -----------------------------------------------------------------------------
|
||||
/** Returns the irrlicht id for this wiimote. The wiimote ids have a higher
|
||||
* index than any gamepad reported by irrlicht.*/
|
||||
int Wiimote::getIrrId() { return m_wiimote_id + WIIMOTE_START_IRR_ID; }
|
||||
int getIrrId() { return m_wiimote_id + WIIMOTE_START_IRR_ID; }
|
||||
|
||||
}; // class Wiimote
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user