avoid silly warnings

This commit is contained in:
dborca
2004-10-04 09:04:24 +00:00
parent d5cdfe9374
commit 024bd0832f
3 changed files with 8 additions and 6 deletions

View File

@@ -925,7 +925,7 @@ FxBool sst1InitSetGrxClkINI(FxU32 *sstbase, sst1ClkTimingStruct
setMemClk = iniDac->setMemClk;
while(setMemClk) {
#ifdef DIRECTX
if(setMemClk->frequency == FTOL(sstGrxClk->freq) ) {
if(setMemClk->frequency == (FxU32) FTOL(sstGrxClk->freq) ) {
#else
if(setMemClk->frequency == (FxU32) sstGrxClk->freq) {
#endif

View File

@@ -260,5 +260,6 @@ gdbg_set_file(const char *name)
outf = fopen(name,"w"); // open up a new one
if (outf) gdbg_msgfile = outf;
return outf != NULL;
}
}
return FXTRUE;
}

View File

@@ -36,6 +36,11 @@
#include <sst1vid.h>
#include <sst1init.h>
#if __WIN32__
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#endif /* __WIN32__ */
static int sst1InitFgets(char *, FILE *);
static int sst1InitFgetc(FILE *);
static int sst1InitParseFieldDac(char *);
@@ -221,10 +226,6 @@ __errExit:
#if defined(INIT_DOS) || defined(INIT_LINUX)
#if __WIN32__
#include <windows.h>
#endif /* __WIN32__ */
/* Get the definition of myGetenv for glide builds */
#include <init.h>