diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2006-10-31 23:17:21 +0000 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2006-10-31 23:17:21 +0000 |
commit | 923ee10eefc894725e74aefa4ba3ff72f865ccdd (patch) | |
tree | 30647f413d9ab91e12bc121b86961f1e9465d3fe /src/stroke | |
parent | 231f7045480eb3c80c30e70ea54650fe530c4798 (diff) | |
download | strongswan-923ee10eefc894725e74aefa4ba3ff72f865ccdd.tar.bz2 strongswan-923ee10eefc894725e74aefa4ba3ff72f865ccdd.tar.xz |
solved 64 bit issue in push/pop stroke interface
Diffstat (limited to 'src/stroke')
-rw-r--r-- | src/stroke/stroke.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stroke/stroke.c b/src/stroke/stroke.c index b7ee4319e..90fd16f0e 100644 --- a/src/stroke/stroke.c +++ b/src/stroke/stroke.c @@ -34,7 +34,7 @@ struct stroke_token { 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)) { |