Fixed a couple warnings

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6640 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2010-11-18 15:49:00 +00:00
parent 196cb0aabe
commit 48478bbe15
2 changed files with 1 additions and 2 deletions

View File

@ -278,7 +278,7 @@ void MusicOggStream::updateFaster(float percent, float max_pitch)
void MusicOggStream::update()
{
if (m_pausedMusic || m_soundSource == -1)
if (m_pausedMusic || m_soundSource == ALuint(-1))
{
// nothing todo
return;

View File

@ -185,7 +185,6 @@ void DeviceConfig::serialize (std::ofstream& stream)
bool DeviceConfig::deserializeAction(irr::io::IrrXMLReader* xml)
{
bool success = false;
int binding_id = -1;
// Never hurts to check ;)