From f49f0d19f9042bdef8ca824dce941469b9d89fcd Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 1 Jul 2019 16:39:02 +0530 Subject: [PATCH] oops --- glfw/internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glfw/internal.h b/glfw/internal.h index 22e870d05..1000b4da8 100644 --- a/glfw/internal.h +++ b/glfw/internal.h @@ -247,7 +247,7 @@ typedef void (APIENTRY * PFN_vkVoidFunction)(void); #endif // dlsym that works with -Wpedantic -#define glfw_dlsym(dest, handle, name) do {*(void **)&(handle) = _glfw_dlsym(handle, name);}while (0) +#define glfw_dlsym(dest, handle, name) do {*(void **)&(dest) = _glfw_dlsym(handle, name);}while (0) // Mark function arguments as unused #define UNUSED __attribute__ ((unused))