Use SDL C runtime functions
authorSam Lantinga <slouken@libsdl.org>
Wed, 19 Jun 2019 06:40:50 -0700
changeset 12892d171cb5b389d
parent 12891 df4fda4ec707
child 12893 a600274d78f4
Use SDL C runtime functions
src/video/kmsdrm/SDL_kmsdrmvideo.c
     1.1 --- a/src/video/kmsdrm/SDL_kmsdrmvideo.c	Wed Jun 19 10:11:38 2019 +0200
     1.2 +++ b/src/video/kmsdrm/SDL_kmsdrmvideo.c	Wed Jun 19 06:40:50 2019 -0700
     1.3 @@ -102,7 +102,7 @@
     1.4      if (folder) {
     1.5          while ((res = readdir(folder))) {
     1.6              int len = SDL_strlen(res->d_name);
     1.7 -            if (len > 4 && strncmp(res->d_name, "card", 4) == 0) {
     1.8 +            if (len > 4 && SDL_strncmp(res->d_name, "card", 4) == 0) {
     1.9                  devcount++;
    1.10              }
    1.11          }