]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Cast return value of ShellExecute to INT_PTR.
authorTim Kosse <tim.kosse@filezilla-project.org>
Tue, 11 Aug 2015 12:30:14 +0000 (14:30 +0200)
committerSimon Tatham <anakin@pobox.com>
Sat, 15 Aug 2015 12:54:53 +0000 (13:54 +0100)
commit44c107d56aa0e408fd4dd710134151f09149e526
tree27f4f90f969e1969aff6733b8e49ae6848ee6833
parent3ca54e45e32e73c0c6e4530cf95218f45a07c9d3
Cast return value of ShellExecute to INT_PTR.

ShellExecute returns HINSTANCE which is a typedef for void*. Cast the
return value to INT_PTR instead of int to avoid truncation on 64bit
builds.
windows/winpgnt.c