diff options
author | Munechika SUMIKAWA <sumikawa@FreeBSD.org> | 2005-07-11 03:04:38 +0000 |
---|---|---|
committer | Munechika SUMIKAWA <sumikawa@FreeBSD.org> | 2005-07-11 03:04:38 +0000 |
commit | 04746592a62deafa7e540bf9ebfecf80c9c1a8b4 (patch) | |
tree | a0bcf7d602b57c2453454a6fa88198ca9267fee0 /security/racoon2 | |
parent | Update to 2.5.30.17 (diff) |
Make compilable on 64bit system.
Notes
Notes:
svn path=/head/; revision=138873
Diffstat (limited to 'security/racoon2')
-rw-r--r-- | security/racoon2/files/patch-lib-rc_str.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/security/racoon2/files/patch-lib-rc_str.c b/security/racoon2/files/patch-lib-rc_str.c new file mode 100644 index 000000000000..cc6bfa8a30df --- /dev/null +++ b/security/racoon2/files/patch-lib-rc_str.c @@ -0,0 +1,20 @@ +--- lib/rc_str.c- Mon Jul 11 11:59:42 2005 ++++ lib/rc_str.c Mon Jul 11 11:59:45 2005 +@@ -63,7 +63,7 @@ + extern struct rcf_setval *rcf_setval_head; + struct rcf_setval *n; + char *buf; +- int buflen = 0; ++ size_t buflen = 0; + + for (n = rcf_setval_head; n; n = n->next) { + if (strncmp(n->sym->v, str, len) == 0 && n->sym->l == len) { +@@ -81,7 +81,7 @@ + { + char *res; + char *buf; +- int buflen = 0; ++ size_t buflen = 0; + + if (rc_strzcat(&buf, &buflen, str, len)) + return NULL; |