# HG changeset patch # User Ryan C. Gordon # Date 1164795992 0 # Node ID 939420dee8496bfb98df19467a89a56e76636370 # Parent 46661504398c3cceb28ac5e636450157d30006c1 Use SDL_strcmp(), not strcmp(). Thanks, Suzuki Masahiro. diff -r 46661504398c -r 939420dee849 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);