diff --git a/src/hotreload_windows.c b/src/hotreload_windows.c index b4e2ec2..93ed724 100644 --- a/src/hotreload_windows.c +++ b/src/hotreload_windows.c @@ -25,7 +25,7 @@ bool reload_libplug(void) } #define PLUG(name, ...) \ - name = GetProcAddress(libplug, #name); \ + name = (void*)GetProcAddress(libplug, #name); \ if (name == NULL) { \ TraceLog(LOG_ERROR, "HOTRELOAD: could not find %s symbol in %s: %s", \ #name, libplug_file_name, GetLastError()); \ @@ -35,4 +35,4 @@ bool reload_libplug(void) #undef PLUG return true; -} \ No newline at end of file +}