Files
tor/changes
teor 1570f17f97 Windows: Silence a spurious warning in the GetAdaptersAddresses cast
GetProcAddress() returns FARPROC, which is (long long int(*)()) on
64-bit Windows:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms683212(v=vs.85).aspx

But GetAdaptersAddresses() is (long unsigned int(*)()), on both 32-bit
and 64-bit Windows:
https://docs.microsoft.com/en-us/windows/desktop/api/iphlpapi/nf-iphlpapi-getadaptersaddresses

So gcc 8 issues a spurious "incompatible function pointer" warning
about the cast to GetAdaptersAddresses_fn_t.

Silence this warning by casting to a void function pointer, before
the cast to GetAdaptersAddresses_fn_t.

This issue is already fixed by 26481 in 0.3.5 and later, by removing
the lookup and cast.

Fixes bug 27465; bugfix on 0.2.3.11-alpha.
2018-09-07 11:03:10 +10:00
..
2016-11-07 16:19:05 -05:00
2017-02-01 10:39:48 -05:00
2017-11-27 09:09:16 -05:00
2017-01-18 09:01:26 -05:00
2016-11-06 16:39:46 -05:00
2016-10-31 15:05:56 -04:00
2016-11-06 16:39:46 -05:00
2016-11-06 16:39:46 -05:00
2016-11-07 11:01:21 -05:00
2016-11-16 13:14:03 +11:00
2016-12-01 10:14:42 -05:00
2016-12-23 08:08:14 -05:00
2018-02-13 15:07:55 -06:00
2017-02-07 09:27:17 -05:00
2017-05-08 13:39:59 -04:00
2017-05-15 11:43:18 -04:00
2017-06-16 14:03:02 -04:00
2017-07-17 21:44:59 +00:00
2017-08-21 15:04:35 -04:00
2018-02-13 14:56:31 -05:00
2018-03-01 16:05:17 -05:00
2018-08-08 09:26:21 -04:00
2018-03-27 15:29:00 -05:00
2018-07-18 16:39:22 -04:00
2018-08-08 09:56:51 -04:00
2017-01-22 18:48:22 -05:00
2016-10-18 19:35:10 -04:00
2018-07-12 14:12:13 -04:00
2017-11-16 14:07:58 -05:00
2018-02-13 14:56:31 -05:00
2018-06-12 09:44:01 -04:00
2018-06-29 13:04:29 -04:00
2018-08-09 22:18:53 +10:00
2018-08-09 22:19:00 +10:00
2017-11-30 11:52:40 -05:00