diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2007-04-27 21:28:54 +0000 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2007-04-27 21:28:54 +0000 |
commit | 42577f4062fa583e34ace3f4d929fd456cc0d8b0 (patch) | |
tree | 4c83f11abed2b572fbf70ae93b140300f4a1dfca | |
parent | 0f00a094b3d46850b0f5872ca76b11854ff91375 (diff) | |
download | strongswan-42577f4062fa583e34ace3f4d929fd456cc0d8b0.tar.bz2 strongswan-42577f4062fa583e34ace3f4d929fd456cc0d8b0.tar.xz |
fixed casting
-rwxr-xr-x | src/charon/control/interfaces/stroke_interface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/charon/control/interfaces/stroke_interface.c b/src/charon/control/interfaces/stroke_interface.c index d33cae8ed..e48ed2616 100755 --- a/src/charon/control/interfaces/stroke_interface.c +++ b/src/charon/control/interfaces/stroke_interface.c @@ -1579,7 +1579,7 @@ interface_t *interface_create() int i; /* public functions */ - this->public.interface.destroy = (void (*)(stroke_interface_t*))destroy; + this->public.interface.destroy = (void (*)(interface_t*))destroy; /* set up unix socket */ this->socket = socket(AF_UNIX, SOCK_STREAM, 0); @@ -1618,5 +1618,5 @@ interface_t *interface_create() } } - return (&this->public); + return (interface_t*)(&this->public); } |