commit | 53fc78ad463876df8382c1afefdb557b6a2581d8 | [log] [tgz] |
---|---|---|
author | Sam Lantinga <slouken@libsdl.org> | Wed Jun 19 06:40:50 2019 -0700 |
committer | Sam Lantinga <slouken@libsdl.org> | Wed Jun 19 06:40:50 2019 -0700 |
tree | 07b28f383e48d171a277551a2e30fbd1adaae981 | |
parent | 5ac3101d1e4c6c889904ae407a98f729dcf2e7d8 [diff] |
Use SDL C runtime functions
diff --git a/src/video/kmsdrm/SDL_kmsdrmvideo.c b/src/video/kmsdrm/SDL_kmsdrmvideo.c index b753542..54f623e 100644 --- a/src/video/kmsdrm/SDL_kmsdrmvideo.c +++ b/src/video/kmsdrm/SDL_kmsdrmvideo.c
@@ -102,7 +102,7 @@ if (folder) { while ((res = readdir(folder))) { int len = SDL_strlen(res->d_name); - if (len > 4 && strncmp(res->d_name, "card", 4) == 0) { + if (len > 4 && SDL_strncmp(res->d_name, "card", 4) == 0) { devcount++; } }