]> git.ipfire.org Git - thirdparty/openvpn.git/commit
fix warnings in event.c when building for win32-64
authorHeiko Hund <heiko.hund@sophos.com>
Thu, 18 Aug 2011 12:12:11 +0000 (12:12 +0000)
committerDavid Sommerseth <davids@redhat.com>
Tue, 21 Feb 2012 13:45:03 +0000 (14:45 +0100)
commit3c19fcc2099d8ddf6bfeec6550d4e3cb1cbf3431
tree9c4db346d27369533f494f8107bd06a403fd64c9
parent14a382a3f1c70fdbc822bcad27096040ed394661
fix warnings in event.c when building for win32-64

When compiling for 64-bit Windows gcc warns about

  "cast from pointer to integer of different size"

on two occasions in file event.c, due to invalid casting.
This patch removes the type casts and uses the correct
format specifier instead.

Signed-off-by: Heiko Hund <heiko.hund@sophos.com>
Acked-by: James Yonan <james@openvpn.net>
URL: http://article.gmane.org/gmane.network.openvpn.devel/4979
Signed-off-by: David Sommerseth <davids@redhat.com>
event.c