diff options
author | peter <peter@FreeBSD.org> | 2003-07-26 04:03:18 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2003-07-26 04:03:18 +0000 |
commit | 8f2d8640ee5b2c600f9019de16093b0ef971e24f (patch) | |
tree | 7326ee27e25fac6681ad23d3e0380bd676da5639 /contrib/smbfs/lib | |
parent | b39888292e89b0de94bcba0706db456f860b2daf (diff) | |
download | FreeBSD-src-8f2d8640ee5b2c600f9019de16093b0ef971e24f.zip FreeBSD-src-8f2d8640ee5b2c600f9019de16093b0ef971e24f.tar.gz |
Fixes for 64 bit cleanliness. The length arg to sysctl is a pointer to
size_t not int.
Reviewed by: bp
Diffstat (limited to 'contrib/smbfs/lib')
-rw-r--r-- | contrib/smbfs/lib/smb/kiconv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/smbfs/lib/smb/kiconv.c b/contrib/smbfs/lib/smb/kiconv.c index e75f664..3ec9fea 100644 --- a/contrib/smbfs/lib/smb/kiconv.c +++ b/contrib/smbfs/lib/smb/kiconv.c @@ -30,6 +30,7 @@ * SUCH DAMAGE. * * $Id: kiconv.c,v 1.3 2001/08/22 03:31:36 bp Exp $ + * $FreeBSD$ */ #include <sys/types.h> @@ -48,7 +49,7 @@ kiconv_add_xlat_table(const char *to, const char *from, const u_char *table) { struct iconv_add_in din; struct iconv_add_out dout; - int olen; + size_t olen; if (strlen(from) > ICONV_CSNMAXLEN || strlen(to) > ICONV_CSNMAXLEN) return EINVAL; |