Use SDL_strcmp(), not strcmp().
authorRyan C. Gordon <icculus@icculus.org>
Wed, 29 Nov 2006 10:26:32 +0000
changeset 2076939420dee849
parent 2075 46661504398c
child 2077 8bfba7ec379a
Use SDL_strcmp(), not strcmp().
Thanks, Suzuki Masahiro.
src/audio/SDL_audio.c
     1.1 --- a/src/audio/SDL_audio.c	Wed Nov 29 10:22:59 2006 +0000
     1.2 +++ b/src/audio/SDL_audio.c	Wed Nov 29 10:26:32 2006 +0000
     1.3 @@ -346,7 +346,7 @@
     1.4  static SDL_AudioFormat
     1.5  SDL_ParseAudioFormat(const char *string)
     1.6  {
     1.7 -#define CHECK_FMT_STRING(x) if (strcmp(string, #x) == 0) return AUDIO_##x
     1.8 +#define CHECK_FMT_STRING(x) if (SDL_strcmp(string, #x) == 0) return AUDIO_##x
     1.9      CHECK_FMT_STRING(U8);
    1.10      CHECK_FMT_STRING(S8);
    1.11      CHECK_FMT_STRING(U16LSB);