Fix more compilation warnings SDL-1.2
authorPatrice Mandin <patmandin@gmail.com>
Sun, 28 Aug 2011 17:19:32 +0200
branchSDL-1.2
changeset 5652 16ad54affe84
parent 5651 abba6814a65c
child 5653 9a7d629b403a
Fix more compilation warnings
src/audio/mint/SDL_mintaudio.c
src/audio/mint/SDL_mintaudio_dma8.c
src/audio/mint/SDL_mintaudio_gsxb.c
src/audio/mint/SDL_mintaudio_mcsn.c
--- a/src/audio/mint/SDL_mintaudio.c	Fri Aug 26 19:56:08 2011 +0200
+++ b/src/audio/mint/SDL_mintaudio.c	Sun Aug 28 17:19:32 2011 +0200
@@ -144,7 +144,7 @@
 /* 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) {
--- a/src/audio/mint/SDL_mintaudio_dma8.c	Fri Aug 26 19:56:08 2011 +0200
+++ b/src/audio/mint/SDL_mintaudio_dma8.c	Sun Aug 28 17:19:32 2011 +0200
@@ -59,7 +59,7 @@
 
 /*--- Static variables ---*/
 
-static unsigned long cookie_snd, cookie_mch;
+static long cookie_snd, cookie_mch;
 
 /*--- Audio driver functions ---*/
 
--- a/src/audio/mint/SDL_mintaudio_gsxb.c	Fri Aug 26 19:56:08 2011 +0200
+++ b/src/audio/mint/SDL_mintaudio_gsxb.c	Sun Aug 28 17:19:32 2011 +0200
@@ -59,7 +59,7 @@
 
 /*--- Static variables ---*/
 
-static unsigned long cookie_snd, cookie_gsxb;
+static long cookie_snd, cookie_gsxb;
 
 /*--- Audio driver functions ---*/
 
--- a/src/audio/mint/SDL_mintaudio_mcsn.c	Fri Aug 26 19:56:08 2011 +0200
+++ b/src/audio/mint/SDL_mintaudio_mcsn.c	Sun Aug 28 17:19:32 2011 +0200
@@ -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 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);