From 4c322a586bbc7128fec6b77b33ea1e68baa40961 Mon Sep 17 00:00:00 2001 From: riccardom Date: Sun, 11 Jan 2009 10:26:00 +0000 Subject: [PATCH] Shut up last gcc signed vs unsigned comparison warnings --- desmume/src/OGLRender.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/desmume/src/OGLRender.cpp b/desmume/src/OGLRender.cpp index 9de1608bf..62e122372 100644 --- a/desmume/src/OGLRender.cpp +++ b/desmume/src/OGLRender.cpp @@ -772,7 +772,7 @@ static void setTexture(unsigned int format, unsigned int texpal) if(!texcache[i].suspectedInvalid) goto ACCEPT; //if we couldnt cache this entire texture due to it being too large, then reject it - if(texSize+indexSize > sizeof(texcache[i].texture)) goto REJECT; + if(texSize+indexSize > (int)sizeof(texcache[i].texture)) goto REJECT; //when the palettes dont match: //note that we are considering 4x4 textures to have a palette size of 0. @@ -862,7 +862,7 @@ REJECT: { for(int j=0;j>5; @@ -877,7 +877,7 @@ REJECT: { for(int j=0;j>3); @@ -1074,7 +1074,7 @@ REJECT: { for(int j=0;j