Use SDL_strcmp(), not strcmp().
authorRyan C. Gordon <icculus@icculus.org>
Wed, 29 Nov 2006 10:26:32 +0000
changeset 2076 939420dee849
parent 2075 46661504398c
child 2077 8bfba7ec379a
Use SDL_strcmp(), not strcmp(). Thanks, Suzuki Masahiro.
src/audio/SDL_audio.c
--- 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);