Browse Source

Fix compilation

--HG--
branch : minor
Alex Szpakowski 8 years ago
parent
commit
135d928922
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/modules/graphics/Texture.cpp

+ 2 - 2
src/modules/graphics/Texture.cpp

@@ -80,9 +80,9 @@ void Texture::initQuad()
 
 void Texture::setGraphicsMemorySize(int64 bytes)
 {
-	totalGraphicsMemory = std::max(totalGraphicsMemory - graphicsMemorySize, 0LL);
+	totalGraphicsMemory = std::max(totalGraphicsMemory - graphicsMemorySize, (int64) 0);
 
-	bytes = std::max(bytes, 0LL);
+	bytes = std::max(bytes, (int64) 0);
 	graphicsMemorySize = bytes;
 	totalGraphicsMemory += bytes;
 }