summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2020-08-26 15:45:35 -0700
committerNoel Power <npower@samba.org>2020-09-07 13:23:43 +0000
commitcb01b5e433dacec1217281e69041b322e37a18a3 (patch)
treea8850f777a6a1e755ce03b4aa49c9d5ea89dfeb4 /source3/include/proto.h
parentf39ff1367a191d71f54f6184e848537b7c309c10 (diff)
downloadsamba-cb01b5e433dacec1217281e69041b322e37a18a3.tar.gz
s3: libsmb: Make namecache_store() take an unsigned count.
Counts can never be negative. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Noel Power <npower@samba.org>
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index ac7b36f005b..dacd9e7fa44 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -678,7 +678,7 @@ NTSTATUS dos_to_ntstatus(uint8_t eclass, uint32_t ecode);
bool namecache_store(const char *name,
int name_type,
- int num_names,
+ size_t num_names,
struct ip_service *ip_list);
bool namecache_fetch(TALLOC_CTX *ctx,
const char *name,