]> git.meshlink.io Git - meshlink/commit
Fix format strings for Windows.
authorGuus Sliepen <guus@tinc-vpn.org>
Thu, 2 Jun 2011 22:46:56 +0000 (00:46 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Thu, 2 Jun 2011 22:46:56 +0000 (00:46 +0200)
commit5989a29d7b53b25e8ed2f60bc3a0e089e423c02c
tree02e9bb1019b63b7a5aa21f4324e9fa9b6e7763c9
parent3ade33bfac11715190ed3e6cc3589d1a738ce257
Fix format strings for Windows.

Windows doesn't like %zd, so cast (s)size_t to int. Also, some shorts were
incorrectly printed with %d instead of %hd.
src/net_socket.c
src/node.c
src/route.c