r13491: Fix bug # 3498 from jason@ncac.gwu.edu. Unsigned comparison
authorJeremy Allison <jra@samba.org>
Mon, 13 Feb 2006 13:36:22 +0000 (13:36 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:10:06 +0000 (11:10 -0500)
with < 0.
Jeremy.

source/libmsrpc/cac_samr.c

index 65141ca31955f5a2d9fd761d9f4fe2fb8a902c7c..bf34ec55b830cffbc38907e72316fbd76e8c0f41 100644 (file)
@@ -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;