Fixes for Debian bug #192701 (64-bit gccs warn about casts between
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 10 May 2003 08:35:54 +0000 (08:35 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 10 May 2003 08:35:54 +0000 (08:35 +0000)
commitf7f9fb5cb0f779bc1a648b264805d7e12abc4260
tree82b351a4e3a80ed7a3329e6c9aaec5d946d3cfd3
parentd14b9ab25f32c3eb52088ba3edc3e5d7f22da5be
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.

git-svn-id: svn://svn.tartarus.org/sgt/putty@3171 cda61777-01e9-0310-a592-d414129be87e
network.h
portfwd.c
proxy.c
proxy.h
unix/gtkdlg.c
unix/pterm.c
unix/unix.h
unix/uxnet.c