Merge pull request #140 from danem/patch-1

Fix pointer mismatch bug on Windows 10.
macos/v1.5.9
Emmanuele Bassi 7 years ago committed by GitHub
commit d1c56a0585
  1. 2
      src/dispatch_common.c

@ -852,7 +852,7 @@ epoxy_resolver_failure_handler_t
epoxy_set_resolver_failure_handler(epoxy_resolver_failure_handler_t handler)
{
#ifdef _WIN32
return InterlockedExchangePointer(&epoxy_resolver_failure_handler,
return InterlockedExchangePointer((void**)&epoxy_resolver_failure_handler,
handler);
#else
epoxy_resolver_failure_handler_t old;

Loading…
Cancel
Save