timeval.tv_sec does not have to be of type time_t
commit25ea65ac4c9a2b958e4f13be7c5890a5354bf4ca
authorPetr Písař <petr.pisar@atlas.cz>
Sun, 6 Dec 2015 17:36:06 +0000 (6 18:36 +0100)
committerPetr Písař <petr.pisar@atlas.cz>
Sun, 6 Dec 2015 17:40:13 +0000 (6 18:40 +0100)
tree333d4cbfe29a86210d7bfa626220a37e83bb8269
parente13bf55d0e6906eb7b79517c75e2f394949745ea
timeval.tv_sec does not have to be of type time_t

Win32 API defines time_t.tv_sec as long (32-bit there) while time_t is 64-bit
in mingw32-4.8. This leads to strict aliasing problems.

Preliminary patch provided by Martin Doucha <doucha@integri.cz>.
client/common.c
src/isds.c