Commit 33b84c8d15338eb50ca89de5caaa26b8069361e0

Ozkan Sezer 2021-06-24T23:10:56

s/memcmp/SDL_memcmp/ for conistency

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/video/kmsdrm/SDL_kmsdrmvideo.c b/src/video/kmsdrm/SDL_kmsdrmvideo.c
index 84b74fe..fbc2c96 100644
--- a/src/video/kmsdrm/SDL_kmsdrmvideo.c
+++ b/src/video/kmsdrm/SDL_kmsdrmvideo.c
@@ -635,7 +635,7 @@ void KMSDRM_AddDisplay (_THIS, drmModeConnector *connector, drmModeRes *resource
     for (i = 0; i < connector->count_modes; i++) {
         drmModeModeInfo *mode = &connector->modes[i];
 
-        if (!memcmp(mode, &crtc->mode, sizeof(crtc->mode))) {
+        if (!SDL_memcmp(mode, &crtc->mode, sizeof(crtc->mode))) {
           mode_index = i;
           break;
         }