]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Fix a few more clang-generated warnings.
authorSimon Tatham <anakin@pobox.com>
Sun, 5 Feb 2017 11:19:12 +0000 (11:19 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 5 Feb 2017 11:53:58 +0000 (11:53 +0000)
commitca8876f0044c2eb7dbc5a61a432e799973e7e51c
treef737305f33e43ebc947e596778ea3e81130fc864
parentc7f466309c5052271adc7e433cc415407ee2325b
Fix a few more clang-generated warnings.

These are benign, I think. clang warns about casting non-pointer-sized
integers to pointers, but the Windows API actually does sometimes
involve values that are either pointers or _small_ integers, so in the
two cases involved I just cast through ULONG_PTR to silence the
warning. And clang insists that the integer whose address I give to
sk_getxdmdata is still uninitialised afterwards, which is just a lie.
windows/winctrls.c
windows/window.c
x11fwd.c