Skip to content

Commit

Permalink
Fix MinGW warning about incompatible pointer types
Browse files Browse the repository at this point in the history
  • Loading branch information
rexim authored and Jummit committed May 9, 2024
1 parent 7709ad5 commit f494c39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hotreload_windows.c
Original file line number Diff line number Diff line change
Expand Up @@ -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()); \
Expand All @@ -35,4 +35,4 @@ bool reload_libplug(void)
#undef PLUG

return true;
}
}

0 comments on commit f494c39

Please sign in to comment.