]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Use correct type to print Windows error codes.
authorTim Kosse <tim.kosse@filezilla-project.org>
Tue, 11 Aug 2015 12:13:20 +0000 (14:13 +0200)
committerSimon Tatham <anakin@pobox.com>
Sat, 15 Aug 2015 12:54:44 +0000 (13:54 +0100)
commit6539d39755e82e3a39f61aa0ff4e415b4861320b
tree23434436f9e5101d2d97d60addfee3d936bc1718
parent1f6504c2de427b0db6267fe7e93ace626970c287
Use correct type to print Windows error codes.

GetLastError returns DWORD. To print it, convert it to unsigned int
and use the %u format specifier.
windows/winmisc.c
windows/winnet.c