Skip to content

Commit

Permalink
Use SDL C runtime strlen()
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Oct 11, 2016
1 parent ca42373 commit fed9b60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/audio/alsa/SDL_alsa_audio.c
Expand Up @@ -799,7 +799,7 @@ ALSA_HotplugThread(void *arg)

for (j = 0; prefixes[j]; j++) {
const char *prefix = prefixes[j];
const size_t prefixlen = strlen(prefix);
const size_t prefixlen = SDL_strlen(prefix);
if (SDL_strncmp(name, prefix, prefixlen) == 0) {
if (j < bestmatch) {
bestmatch = j;
Expand Down

0 comments on commit fed9b60

Please sign in to comment.