From 4c751db4895d65af85344877c647eec8d1ba806f Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 7 Jan 2023 18:35:30 +0100 Subject: [PATCH] - silence some warnings. --- src/common/textures/formats/rawpagetexture.cpp | 2 +- src/common/textures/formats/startuptexture.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/textures/formats/rawpagetexture.cpp b/src/common/textures/formats/rawpagetexture.cpp index 271f22d4a..19d3f4587 100644 --- a/src/common/textures/formats/rawpagetexture.cpp +++ b/src/common/textures/formats/rawpagetexture.cpp @@ -62,7 +62,7 @@ public: // //========================================================================== -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 666726774..8a2a1e602 100644 --- a/src/common/textures/formats/startuptexture.cpp +++ b/src/common/textures/formats/startuptexture.cpp @@ -109,7 +109,7 @@ public: // //========================================================================== -bool CheckIfRaw(FileReader & data, int desiredsize); +bool CheckIfRaw(FileReader & data, unsigned desiredsize); //========================================================================== //