Changed type of GetTicksPer(Line|Frame) to unsigned.

Avoids a GCC warning about comparing signed and unsigned values
in Source/Core/Core/Src/State.cpp.
This commit is contained in:
Maarten ter Huurne 2011-12-02 00:33:45 +01:00
parent f50ea590ce
commit 045eb924d9
2 changed files with 4 additions and 4 deletions

View File

@ -759,7 +759,7 @@ void UpdateParameters()
}
}
int GetTicksPerLine()
unsigned GetTicksPerLine()
{
if (s_lineCount == 0)
{
@ -771,7 +771,7 @@ int GetTicksPerLine()
}
}
int GetTicksPerFrame()
unsigned GetTicksPerFrame()
{
return TicksPerFrame;
}

View File

@ -357,8 +357,8 @@ union UVIDTVStatus
// Change values pertaining to video mode
void UpdateParameters();
int GetTicksPerLine();
int GetTicksPerFrame();
unsigned GetTicksPerLine();
unsigned GetTicksPerFrame();
};
#endif // _VIDEOINTERFACE_H