Fix signedness warning
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1728 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
fb8094aae2
commit
d7a003cac1
|
@ -106,7 +106,7 @@ IMAGEFILE *iV_LoadImageFile(const char *fileName)
|
|||
// Load the texture pages.
|
||||
for (i = 0; i < Header.NumTPages; i++)
|
||||
{
|
||||
ImageFile->TPageIDs[i] = LoadTextureFile(Header.TPageFiles[i], &ImageFile->TexturePages[i]);
|
||||
ImageFile->TPageIDs[i] = LoadTextureFile((char *)Header.TPageFiles[i], &ImageFile->TexturePages[i]);
|
||||
}
|
||||
|
||||
for(ImageDef = &ImageFile->ImageDefs[0]; ImageDef != &ImageFile->ImageDefs[Header.NumImages]; ++ImageDef)
|
||||
|
|
Loading…
Reference in New Issue