fix pedantic gcc compile errors

This commit is contained in:
zeromus 2009-10-29 04:28:57 +00:00
parent d219cccb49
commit 93186fb640
2 changed files with 2 additions and 2 deletions

View File

@ -562,7 +562,7 @@ static void setTexture(unsigned int format, unsigned int texpal)
{
currTexture->deleteCallback = texDeleteCallback;
if(freeTextureIds.empty()) expandFreeTextures();
currTexture->texid = (void*)freeTextureIds.front();
currTexture->texid = (u32)freeTextureIds.front();
freeTextureIds.pop();
glBindTexture(GL_TEXTURE_2D,(GLuint)currTexture->texid);

View File

@ -44,7 +44,7 @@ public:
u32 sizeX, sizeY;
float invSizeX, invSizeY;
void* texid; //used by ogl renderer for the texid
u32 texid; //used by ogl renderer for the texid
void (*deleteCallback)(ADPCMCacheItem*);
TexCache_TexFormat cacheFormat;