Compatibility with compilers on non-Ubuntu platforms

This commit is contained in:
TwistedUmbrella 2014-05-08 00:17:14 -04:00 committed by ptitSeb
parent ea1686df08
commit c2c7af68bf
1 changed files with 1 additions and 1 deletions

View File

@ -422,7 +422,7 @@ GLuint GetTexture(TSP tsp,TCW tcw)
void CollectCleanup() {
vector<u64> list;
u32 TargetFrame = max(120,FrameCount) - 120;
u32 TargetFrame = max((u32)120,FrameCount) - 120;
for (TexCacheIter i=TexCache.begin();i!=TexCache.end();i++)
{