mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Fix warnings raised by GCC 8
This commit is contained in:
committed by
Ethan Lee
parent
d4ee5dec1a
commit
a83e83ca1b
@@ -108,7 +108,7 @@ bool binaryBlob::unPackBinary(const char* name)
|
||||
}
|
||||
PHYSFS_close(handle);
|
||||
|
||||
printf("The complete reloaded file size: %li\n", size);
|
||||
printf("The complete reloaded file size: %lli\n", size);
|
||||
|
||||
for (int i = 0; i < 128; i += 1)
|
||||
{
|
||||
|
||||
@@ -3078,8 +3078,12 @@ void Graphics::bigrprint(int x, int y, std::string& t, int r, int g, int b, bool
|
||||
|
||||
x -= (len(t));
|
||||
|
||||
if (r < -1) r = -1; if (g < 0) g = 0; if (b < 0) b = 0;
|
||||
if (r > 255) r = 255; if (g > 255) g = 255; if (b > 255) b = 255;
|
||||
if (r < -1) r = -1;
|
||||
if (g < 0) g = 0;
|
||||
if (b < 0) b = 0;
|
||||
if (r > 255) r = 255;
|
||||
if (g > 255) g = 255;
|
||||
if (b > 255) b = 255;
|
||||
ct.colour = getRGB(r, g, b);
|
||||
|
||||
if (cen)
|
||||
|
||||
Reference in New Issue
Block a user