strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed casting
[strongswan.git]
/
src
/
charon
/
control
/
interfaces
/
stroke_interface.c
diff --git
a/src/charon/control/interfaces/stroke_interface.c
b/src/charon/control/interfaces/stroke_interface.c
index
d33cae8
..
e48ed26
100755
(executable)
--- 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 */
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);
/* 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);
}
}