]> asedeno.scripts.mit.edu Git - PuTTY.git/commit - unix/unix.h
Fixes for Debian bug #192701 (64-bit gccs warn about casts between
authorSimon Tatham <anakin@pobox.com>
Sat, 10 May 2003 08:35:54 +0000 (08:35 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 10 May 2003 08:35:54 +0000 (08:35 +0000)
commit9a242f06baa48c6cf91180be49e812317ded0e55
tree82b351a4e3a80ed7a3329e6c9aaec5d946d3cfd3
parent342b5803e7e3789055a6af32d64aeb697abb31d7
Fixes for Debian bug #192701 (64-bit gccs warn about casts between
ptrs and ints of different size and -Werror makes this serious).
The GTK bits are done by Colin's patch to use GINT_TO_POINTER
(thanks); the uxnet bits are done by cleaning up the rest of the
code. In particular, network.h now typedefs `OSSocket' to be a type
capable of holding whatever the OS's socket data type is that
underlies our socket abstraction. Individual platforms can make this
typedef themselves if they define OSSOCKET_DEFINED to prevent
network.h redoing it; so the Unix OSSocket is now int. Default is
still void *, so other platforms should be unaffected.

[originally from svn r3171]
network.h
portfwd.c
proxy.c
proxy.h
unix/gtkdlg.c
unix/pterm.c
unix/unix.h
unix/uxnet.c