diff --git a/src/common/textures/formats/rawpagetexture.cpp b/src/common/textures/formats/rawpagetexture.cpp index 271f22d4a3b..19d3f458785 100644 --- a/src/common/textures/formats/rawpagetexture.cpp +++ b/src/common/textures/formats/rawpagetexture.cpp @@ -62,7 +62,7 @@ class FRawPageTexture : public FImageSource // //========================================================================== -bool CheckIfRaw(FileReader & data, int desiredsize) +bool CheckIfRaw(FileReader & data, unsigned desiredsize) { if (data.GetLength() != desiredsize) return false; diff --git a/src/common/textures/formats/startuptexture.cpp b/src/common/textures/formats/startuptexture.cpp index 66672677418..8a2a1e602f8 100644 --- a/src/common/textures/formats/startuptexture.cpp +++ b/src/common/textures/formats/startuptexture.cpp @@ -109,7 +109,7 @@ class FStrifeStartupBackground : public FImageSource // //========================================================================== -bool CheckIfRaw(FileReader & data, int desiredsize); +bool CheckIfRaw(FileReader & data, unsigned desiredsize); //========================================================================== //