Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Use SDL_strcmp(), not strcmp().
Browse files Browse the repository at this point in the history
  Thanks, Suzuki Masahiro.
  • Loading branch information
icculus committed Nov 29, 2006
1 parent 2a651c8 commit b830a66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/audio/SDL_audio.c
Expand Up @@ -346,7 +346,7 @@ SDL_RunAudio(void *devicep)
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);
Expand Down

0 comments on commit b830a66

Please sign in to comment.