correct signedness of unused palette size parameter..
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@426 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
c0a561cfb1
commit
b3522f3596
|
@ -267,7 +267,7 @@ int main(int argc, char *argv[])
|
||||||
SDWORD introVideoControl = 3;
|
SDWORD introVideoControl = 3;
|
||||||
int loopStatus = 0;
|
int loopStatus = 0;
|
||||||
iColour* psPaletteBuffer;
|
iColour* psPaletteBuffer;
|
||||||
SDWORD pSize;
|
UDWORD pSize;
|
||||||
|
|
||||||
/*** Initialize the debug subsystem ***/
|
/*** Initialize the debug subsystem ***/
|
||||||
/* Debug stuff for .net, don't delete :) */
|
/* Debug stuff for .net, don't delete :) */
|
||||||
|
@ -378,7 +378,7 @@ init://jump here from the end if re_initialising
|
||||||
DBERROR(("Out of memory"));
|
DBERROR(("Out of memory"));
|
||||||
return -1;
|
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"));
|
DBERROR(("Couldn't load palette data"));
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Reference in New Issue