summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authortakawata <takawata@FreeBSD.org>2005-05-05 07:02:51 +0000
committertakawata <takawata@FreeBSD.org>2005-05-05 07:02:51 +0000
commit68a4e0f83ee6cf4116874ef2bc6dbb4ea362a0f2 (patch)
tree57ede4d36fe8775a4a4e64e6b50f1cdb87101f5c /sys
parentaf64c19b3b7026bb23b69b1b85c5614a83aba834 (diff)
downloadFreeBSD-src-68a4e0f83ee6cf4116874ef2bc6dbb4ea362a0f2.zip
FreeBSD-src-68a4e0f83ee6cf4116874ef2bc6dbb4ea362a0f2.tar.gz
Fix breakage on alpha.
Pointed out by: hrs via IRC
Diffstat (limited to 'sys')
-rw-r--r--sys/fs/smbfs/smbfs_subr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/smbfs/smbfs_subr.c b/sys/fs/smbfs/smbfs_subr.c
index 5e04a37..1d26ac1 100644
--- a/sys/fs/smbfs/smbfs_subr.c
+++ b/sys/fs/smbfs/smbfs_subr.c
@@ -321,8 +321,8 @@ smbfs_fname_tolocal(struct smb_vc *vcp, char *name, int *nmlen, int caseopt)
int copt = (caseopt == SMB_CS_LOWER ? KICONV_FROM_LOWER :
(caseopt == SMB_CS_UPPER ? KICONV_FROM_UPPER : 0));
int error = 0;
- int ilen = *nmlen;
- int olen;
+ size_t ilen = *nmlen;
+ size_t olen;
char *ibuf = name;
char outbuf[SMB_MAXFNAMELEN];
char *obuf = outbuf;
OpenPOWER on IntegriCloud