diff options
author | Luke Leighton <lkcl@samba.org> | 1998-12-07 21:40:53 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1998-12-07 21:40:53 +0000 |
commit | 801d62589850b414bde37875bb66405d3ee5bb9e (patch) | |
tree | 166108a634e3457e87f69daa0451d4b10fc8cd41 /source3 | |
parent | 699bae847f3a29514d06424bf20e98e96dd89d8a (diff) | |
download | samba-801d62589850b414bde37875bb66405d3ee5bb9e.tar.gz samba-801d62589850b414bde37875bb66405d3ee5bb9e.tar.xz samba-801d62589850b414bde37875bb66405d3ee5bb9e.zip |
issues spotted by herb.
(This used to be commit 57e025494692b1e54d4d83192e6c15d4d1454353)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpcclient/cmd_samr.c | 4 | ||||
-rw-r--r-- | source3/smbwrapper/smbw_dir.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/rpcclient/cmd_samr.c b/source3/rpcclient/cmd_samr.c index e815a2b4d3f..a24e474af5e 100644 --- a/source3/rpcclient/cmd_samr.c +++ b/source3/rpcclient/cmd_samr.c @@ -381,9 +381,9 @@ void cmd_sam_add_aliasmem(struct client_info *info) uint32 flags = 0x200003f3; /* absolutely no idea. */ uint32 alias_rid; const char **names = NULL; - uint32 num_names = 0; + int num_names = 0; DOM_SID *sids = NULL; - uint32 num_sids = 0; + int num_sids = 0; int i; sid_copy(&sid1, &info->dom.level5_sid); diff --git a/source3/smbwrapper/smbw_dir.c b/source3/smbwrapper/smbw_dir.c index 3dd10d49253..7c6e6db70ad 100644 --- a/source3/smbwrapper/smbw_dir.c +++ b/source3/smbwrapper/smbw_dir.c @@ -147,7 +147,7 @@ static void smbw_printjob_add(struct print_job_info *job) finfo.atime = job->t; finfo.ctime = job->t; finfo.uid = (uid_t)-1; - nametouid(job->user, finfo.uid); + nametouid(job->user, &finfo.uid); finfo.mode = aRONLY; finfo.size = job->size; |