aboutsummaryrefslogtreecommitdiffstats
path: root/src/starter
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2006-10-31 23:17:21 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2006-10-31 23:17:21 +0000
commit923ee10eefc894725e74aefa4ba3ff72f865ccdd (patch)
tree30647f413d9ab91e12bc121b86961f1e9465d3fe /src/starter
parent231f7045480eb3c80c30e70ea54650fe530c4798 (diff)
downloadstrongswan-923ee10eefc894725e74aefa4ba3ff72f865ccdd.tar.bz2
strongswan-923ee10eefc894725e74aefa4ba3ff72f865ccdd.tar.xz
solved 64 bit issue in push/pop stroke interface
Diffstat (limited to 'src/starter')
-rw-r--r--src/starter/starterstroke.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/starter/starterstroke.c b/src/starter/starterstroke.c
index aae8d5b59..cde9567e8 100644
--- a/src/starter/starterstroke.c
+++ b/src/starter/starterstroke.c
@@ -64,7 +64,7 @@ enum auth_method_t {
static char* push_string(stroke_msg_t *msg, char *string)
{
- u_int string_start = msg->length;
+ unsigned long string_start = msg->length;
if (string == NULL || msg->length + strlen(string) >= sizeof(stroke_msg_t))
{