correct signedness of unused palette size parameter..

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@426 4a71c877-e1ca-e34f-864e-861f7616d084
master
Angus Lees 2006-05-08 16:11:59 +00:00
parent c0a561cfb1
commit b3522f3596
1 changed files with 2 additions and 2 deletions

View File

@ -267,7 +267,7 @@ int main(int argc, char *argv[])
SDWORD introVideoControl = 3;
int loopStatus = 0;
iColour* psPaletteBuffer;
SDWORD pSize;
UDWORD pSize;
/*** Initialize the debug subsystem ***/
/* Debug stuff for .net, don't delete :) */
@ -378,7 +378,7 @@ init://jump here from the end if re_initialising
DBERROR(("Out of memory"));
return -1;
}
if (!loadFileToBuffer("palette.bin", (char*)psPaletteBuffer, (256 * sizeof(iColour)+1),(UDWORD*)&pSize))
if (!loadFileToBuffer("palette.bin", (char*)psPaletteBuffer, (256 * sizeof(iColour)+1),&pSize))
{
DBERROR(("Couldn't load palette data"));
return -1;