diff options
Diffstat (limited to 'source3/passdb/smbpass.c')
-rw-r--r-- | source3/passdb/smbpass.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/smbpass.c b/source3/passdb/smbpass.c index e67a9c9768..d2a69ee9a6 100644 --- a/source3/passdb/smbpass.c +++ b/source3/passdb/smbpass.c @@ -96,7 +96,7 @@ static struct smb_passwd *getsmbfilepwent(void *vp) unsigned char c; unsigned char *p; long uidval; - long linebuf_len; + size_t linebuf_len; if(fp == NULL) { DEBUG(0,("getsmbfilepwent: Bad password file pointer.\n")); @@ -566,7 +566,7 @@ static BOOL mod_smbfilepwd_entry(struct smb_passwd* pwd, BOOL override) fstring ascii_p16; fstring encode_bits; unsigned char *p = NULL; - long linebuf_len = 0; + size_t linebuf_len = 0; FILE *fp; int lockfd; char *pfile = lp_smb_passwd_file(); |