From fed9b60492dad28c31d2e350cf46ff272620bd9d Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 10 Oct 2016 23:26:26 -0700 Subject: [PATCH] Use SDL C runtime strlen() --- src/audio/alsa/SDL_alsa_audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audio/alsa/SDL_alsa_audio.c b/src/audio/alsa/SDL_alsa_audio.c index f225b3b4e..3fdbd820a 100644 --- a/src/audio/alsa/SDL_alsa_audio.c +++ b/src/audio/alsa/SDL_alsa_audio.c @@ -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;