summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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