]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - image.c
fixed all the signed/unsigned mismatch warnings
[xonotic/darkplaces.git] / image.c
diff --git a/image.c b/image.c
index 13120cee75a6cf2e8da1f4340075834f8c5b3fe7..287d43e12d01a5eee35711029ea777379504cdfb 100644 (file)
--- a/image.c
+++ b/image.c
@@ -91,7 +91,7 @@ qbyte* LoadPCX (const qbyte *f, int matchwidth, int matchheight)
        const qbyte *palette, *fin, *enddata;
        int x, y, x2, dataByte;
 
-       if (loadsize < sizeof(pcx) + 768)
+       if (loadsize < (int)sizeof(pcx) + 768)
        {
                Con_Printf ("Bad pcx file\n");
                return NULL;