diff src/audio/SDL_audio.c @ 2076:939420dee849

Use SDL_strcmp(), not strcmp(). Thanks, Suzuki Masahiro.
author Ryan C. Gordon <icculus@icculus.org>
date Wed, 29 Nov 2006 10:26:32 +0000
parents dbfa1ebd73b0
children 3ee59c43d784
line wrap: on
line diff
--- a/src/audio/SDL_audio.c	Wed Nov 29 10:22:59 2006 +0000
+++ b/src/audio/SDL_audio.c	Wed Nov 29 10:26:32 2006 +0000
@@ -346,7 +346,7 @@
 static SDL_AudioFormat
 SDL_ParseAudioFormat(const char *string)
 {
-#define CHECK_FMT_STRING(x) if (strcmp(string, #x) == 0) return AUDIO_##x
+#define CHECK_FMT_STRING(x) if (SDL_strcmp(string, #x) == 0) return AUDIO_##x
     CHECK_FMT_STRING(U8);
     CHECK_FMT_STRING(S8);
     CHECK_FMT_STRING(U16LSB);