Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fix more compilation warnings
- Loading branch information
|
@@ -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); |
|
|