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:
hendricks266 2017-01-23 11:21:04 +00:00
parent 5f703e91b7
commit 0f19c98264
3 changed files with 7 additions and 7 deletions

View file

@ -265,8 +265,8 @@ playanm(short anim_num)
int i, j, k, length = 0, numframes = 0; int i, j, k, length = 0, numframes = 0;
int32_t handle = -1; int32_t handle = -1;
unsigned char ANIMvesapal[4*256]; unsigned char ANIMvesapal[4*256];
unsigned char tempbuf[256]; char tempbuf[256];
unsigned char *palook_bak = palookup[0]; char *palook_bak = palookup[0];
UserInput uinfo = { FALSE, FALSE, dir_None }; UserInput uinfo = { FALSE, FALSE, dir_None };
ANIMnum = anim_num; ANIMnum = anim_num;

View file

@ -30,7 +30,7 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "game.h" #include "game.h"
short f_c = 3; short f_c = 3;
static unsigned char tempbuf[256]; static char tempbuf[256];
unsigned char DefaultPalette[256 * 32]; unsigned char DefaultPalette[256 * 32];
#if 1 #if 1
void void

View file

@ -1704,8 +1704,8 @@ LogoLevel(void)
int fin; int fin;
unsigned char backup_pal[256*3]; unsigned char backup_pal[256*3];
unsigned char pal[PAL_SIZE]; unsigned char pal[PAL_SIZE];
unsigned char tempbuf[256]; char tempbuf[256];
unsigned char *palook_bak = palookup[0]; char *palook_bak = palookup[0];
UserInput uinfo = { FALSE, FALSE, dir_None }; UserInput uinfo = { FALSE, FALSE, dir_None };
int i; int i;
@ -1977,8 +1977,8 @@ TitleLevel(void)
int fin; int fin;
unsigned char backup_pal[256*3]; unsigned char backup_pal[256*3];
unsigned char pal[PAL_SIZE]; unsigned char pal[PAL_SIZE];
unsigned char tempbuf[256]; char tempbuf[256];
unsigned char *palook_bak = palookup[0]; char *palook_bak = palookup[0];
int i; int i;
for (i = 0; i < 256; i++) for (i = 0; i < 256; i++)