avoid silly warnings
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user