Navigation Menu

Skip to content

Commit

Permalink
Fix more compilation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
pmandin committed Aug 28, 2011
1 parent 9f55730 commit 95fc137
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/audio/mint/SDL_mintaudio.c
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion src/audio/mint/SDL_mintaudio_dma8.c
Expand Up @@ -59,7 +59,7 @@

/*--- Static variables ---*/

static unsigned long cookie_snd, cookie_mch;
static long cookie_snd, cookie_mch;

/*--- Audio driver functions ---*/

Expand Down
2 changes: 1 addition & 1 deletion src/audio/mint/SDL_mintaudio_gsxb.c
Expand Up @@ -59,7 +59,7 @@

/*--- Static variables ---*/

static unsigned long cookie_snd, cookie_gsxb;
static long cookie_snd, cookie_gsxb;

/*--- Audio driver functions ---*/

Expand Down
4 changes: 2 additions & 2 deletions src/audio/mint/SDL_mintaudio_mcsn.c
Expand Up @@ -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 ---*/
Expand All @@ -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);
Expand Down

0 comments on commit 95fc137

Please sign in to comment.