diff options
Diffstat (limited to 'src/utils/sdl2helper.cpp')
-rw-r--r-- | src/utils/sdl2helper.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utils/sdl2helper.cpp b/src/utils/sdl2helper.cpp index b36fd8733..ff50e29c8 100644 --- a/src/utils/sdl2helper.cpp +++ b/src/utils/sdl2helper.cpp @@ -88,7 +88,8 @@ bool SDL::getWindowWMInfo(SDL_Window *const window, SDL_SysWMinfo *const info) } SDL_Thread *SDL::createThread(SDL_ThreadFunction fn, - const char *const name, void *const data) + const char *restrict const name, + void *restrict const data) { return SDL_CreateThread(fn, name, data); } |