Fix some gcc 4.0 warnings (-wall flag)

This commit is contained in:
kreatordxx 2008-10-21 11:38:03 +00:00
parent c09620f160
commit b2fbaf7829
3 changed files with 5 additions and 2 deletions

View file

@ -1,5 +1,9 @@
D1X-Rebirth Changelog
20081021
--------
iff/iff.c, main/inferno.c: Fix some gcc 4.0 warnings (-wall flag)
20081020
--------
main/menu.c: resolution 1440x960 to 1440x900 - typo

View file

@ -916,7 +916,7 @@ int iff_write_bitmap(char *ofilename,grs_bitmap *bm,ubyte *palette)
//returns iff error codes
int iff_read_animbrush(char *ifilename,grs_bitmap **bm_list,int max_bitmaps,int *n_bitmaps,ubyte *palette)
{
int ret; //return code
int ret = IFF_NO_ERROR; //return code
PHYSFS_file *ifile;
iff_bitmap_header bmheader;
int sig,form_len;

View file

@ -116,7 +116,6 @@ static char *__reference[2]={copyright,(char *)__reference};
#include "console.h"
static const char desc_id_checksum_str[] = DESC_ID_CHKSUM;
char desc_id_exit_num = 0;
int Function_mode=FMODE_MENU; //game or editor?
int Screen_mode=-1; //game screen or editor screen?