summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-02-13 13:36:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:10:06 -0500
commit6791180b8175a3f580b911f6b07a990d3559412d (patch)
tree4b9d22950129f1030a700c12474b920c3c890049
parent3df82f57fcb97eedb53473bc719101e626c4de84 (diff)
downloadsamba-6791180b8175a3f580b911f6b07a990d3559412d.tar.gz
samba-6791180b8175a3f580b911f6b07a990d3559412d.tar.bz2
samba-6791180b8175a3f580b911f6b07a990d3559412d.zip
r13491: Fix bug # 3498 from jason@ncac.gwu.edu. Unsigned comparison
with < 0. Jeremy. (This used to be commit 9a083837070c6540a9b92f6a055f8ecc23a32a49)
-rw-r--r--source3/libmsrpc/cac_samr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libmsrpc/cac_samr.c b/source3/libmsrpc/cac_samr.c
index 65141ca319..bf34ec55b8 100644
--- a/source3/libmsrpc/cac_samr.c
+++ b/source3/libmsrpc/cac_samr.c
@@ -891,7 +891,7 @@ int cac_SamClearGroupMembers(CacServerHandle *hnd, TALLOC_CTX *mem_ctx, POLICY_H
int result = CAC_SUCCESS;
- uint32 i = 0;
+ int i = 0;
uint32 num_mem = 0;
uint32 *rid = NULL;
@@ -1389,7 +1389,7 @@ int cac_SamClearAliasMembers(CacServerHandle *hnd, TALLOC_CTX *mem_ctx, POLICY_H
int result = CAC_SUCCESS;
- uint32 i = 0;
+ int i = 0;
uint32 num_mem = 0;
DOM_SID *sid = NULL;