Fix more compilation warnings
--HG-- branch : SDL-1.2
This commit is contained in:
parent
990293f9ed
commit
1ccbb03751
4 changed files with 5 additions and 5 deletions
|
@ -144,7 +144,7 @@ int SDL_MintAudio_SearchFrequency(_THIS, int desired_freq)
|
|||
/* Check if FPU is present */
|
||||
void SDL_MintAudio_CheckFpu(void)
|
||||
{
|
||||
unsigned long cookie_fpu;
|
||||
long cookie_fpu;
|
||||
|
||||
SDL_MintAudio_hasfpu = 0;
|
||||
if (Getcookie(C__FPU, &cookie_fpu) != C_FOUND) {
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
|
||||
/*--- Static variables ---*/
|
||||
|
||||
static unsigned long cookie_snd, cookie_mch;
|
||||
static long cookie_snd, cookie_mch;
|
||||
|
||||
/*--- Audio driver functions ---*/
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
|
||||
/*--- Static variables ---*/
|
||||
|
||||
static unsigned long cookie_snd, cookie_gsxb;
|
||||
static long cookie_snd, cookie_gsxb;
|
||||
|
||||
/*--- Audio driver functions ---*/
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
|
||||
/*--- Static variables ---*/
|
||||
|
||||
static unsigned long cookie_snd, cookie_mch;
|
||||
static long cookie_snd, cookie_mch;
|
||||
static cookie_mcsn_t *cookie_mcsn;
|
||||
|
||||
/*--- Audio driver functions ---*/
|
||||
|
@ -79,7 +79,7 @@ static void Mint_InitAudio(_THIS, SDL_AudioSpec *spec);
|
|||
|
||||
static int Audio_Available(void)
|
||||
{
|
||||
unsigned long dummy;
|
||||
long dummy;
|
||||
const char *envr = SDL_getenv("SDL_AUDIODRIVER");
|
||||
|
||||
SDL_MintAudio_mint_present = (Getcookie(C_MiNT, &dummy) == C_FOUND);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue