Fixed compiler warning - this should have been a const char pointer
authorSam Lantinga <slouken@libsdl.org>
Tue, 04 Oct 2016 03:38:39 -0700
changeset 10461520440de7a17
parent 10460 87cf824a5508
child 10462 197d526cd22d
Fixed compiler warning - this should have been a const char pointer
src/video/SDL_egl.c
     1.1 --- a/src/video/SDL_egl.c	Tue Oct 04 14:25:31 2016 -0400
     1.2 +++ b/src/video/SDL_egl.c	Tue Oct 04 03:38:39 2016 -0700
     1.3 @@ -161,7 +161,7 @@
     1.4  SDL_EGL_LoadLibrary(_THIS, const char *egl_path, NativeDisplayType native_display)
     1.5  {
     1.6      void *dll_handle = NULL, *egl_dll_handle = NULL; /* The naming is counter intuitive, but hey, I just work here -- Gabriel */
     1.7 -    char *path = NULL;
     1.8 +    const char *path = NULL;
     1.9  #if SDL_VIDEO_DRIVER_WINDOWS || SDL_VIDEO_DRIVER_WINRT
    1.10      const char *d3dcompiler;
    1.11  #endif