diff --git a/engine/client/image.c b/engine/client/image.c index 2b4b5bfa1..161eeedfd 100644 --- a/engine/client/image.c +++ b/engine/client/image.c @@ -141,7 +141,7 @@ qbyte *ReadTargaFile(qbyte *buf, int length, int *width, int *height, int asgrey #define NTSC_GREEN 0.587 #define NTSC_BLUE 0.114 - char *data; + unsigned char *data; qboolean flipped; @@ -201,7 +201,7 @@ qbyte *ReadTargaFile(qbyte *buf, int length, int *width, int *height, int asgrey pixbuf = targa_rgba + ((rows-1)-row)*columns*(asgrey?1:4); for(column=0; column