]> asedeno.scripts.mit.edu Git - PuTTY.git/commit - windows/winnet.c
Cast pointers to uintptr_t instead of unsigned {long,int}.
authorTim Kosse <tim.kosse@filezilla-project.org>
Tue, 11 Aug 2015 12:01:02 +0000 (14:01 +0200)
committerSimon Tatham <anakin@pobox.com>
Sat, 15 Aug 2015 12:54:46 +0000 (13:54 +0100)
commitf2e61275f229b5eefb7a4375b3025a0b5554089a
treed384aec6cee6bb0e448082047feceeef42ee0733
parent9965cd8a53b88715bcfbd942ed90c4581a4c53d8
Cast pointers to uintptr_t instead of unsigned {long,int}.

On 64bit Windows, pointers are 64bit whereas both unsigned long and
unsigned int are 32bit. Using uintptr_t avoids truncation.
misc.c
windows/winhandl.c
windows/winnet.c