diff options
author | Marcel Raad <raad@teamviewer.com> | 2017-03-28 01:37:31 +0200 |
---|---|---|
committer | Marcel Raad <raad@teamviewer.com> | 2017-03-30 08:49:30 +0200 |
commit | 1b4b2c1a59aaaf9dfc28290e9c54c410aa2d858a (patch) | |
tree | 63d24d51186c703652c3cb262bc2424314a95bf3 /docs/cmdline-opts/post303.d | |
parent | f8952932e7fb4de34d0310f9c5dd25d707c25b8d (diff) |
select: use correct SIZEOF_ constant
At least under Windows, there is no SIZEOF_LONG, so it evaluates to 0 even
though sizeof(int) == sizeof(long). This should probably have been
CURL_SIZEOF_LONG, but the type of timeout_ms changed from long to time_t
anyway.
This triggered MSVC warning C4668 about implicitly replacing undefined
macros with '0'.
Closes https://github.com/curl/curl/pull/1362
Diffstat (limited to 'docs/cmdline-opts/post303.d')
0 files changed, 0 insertions, 0 deletions