mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-16 01:11:28 +00:00
SW: Fix signedness of buffers related to makepalookup.
git-svn-id: https://svn.eduke32.com/eduke32@6041 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
5f703e91b7
commit
0f19c98264
3 changed files with 7 additions and 7 deletions
|
@ -265,8 +265,8 @@ playanm(short anim_num)
|
|||
int i, j, k, length = 0, numframes = 0;
|
||||
int32_t handle = -1;
|
||||
unsigned char ANIMvesapal[4*256];
|
||||
unsigned char tempbuf[256];
|
||||
unsigned char *palook_bak = palookup[0];
|
||||
char tempbuf[256];
|
||||
char *palook_bak = palookup[0];
|
||||
UserInput uinfo = { FALSE, FALSE, dir_None };
|
||||
|
||||
ANIMnum = anim_num;
|
||||
|
|
|
@ -30,7 +30,7 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
|
|||
#include "game.h"
|
||||
|
||||
short f_c = 3;
|
||||
static unsigned char tempbuf[256];
|
||||
static char tempbuf[256];
|
||||
unsigned char DefaultPalette[256 * 32];
|
||||
#if 1
|
||||
void
|
||||
|
|
|
@ -1704,8 +1704,8 @@ LogoLevel(void)
|
|||
int fin;
|
||||
unsigned char backup_pal[256*3];
|
||||
unsigned char pal[PAL_SIZE];
|
||||
unsigned char tempbuf[256];
|
||||
unsigned char *palook_bak = palookup[0];
|
||||
char tempbuf[256];
|
||||
char *palook_bak = palookup[0];
|
||||
UserInput uinfo = { FALSE, FALSE, dir_None };
|
||||
int i;
|
||||
|
||||
|
@ -1977,8 +1977,8 @@ TitleLevel(void)
|
|||
int fin;
|
||||
unsigned char backup_pal[256*3];
|
||||
unsigned char pal[PAL_SIZE];
|
||||
unsigned char tempbuf[256];
|
||||
unsigned char *palook_bak = palookup[0];
|
||||
char tempbuf[256];
|
||||
char *palook_bak = palookup[0];
|
||||
int i;
|
||||
|
||||
for (i = 0; i < 256; i++)
|
||||
|
|
Loading…
Reference in a new issue