From 6791180b8175a3f580b911f6b07a990d3559412d Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 13 Feb 2006 13:36:22 +0000 Subject: r13491: Fix bug # 3498 from jason@ncac.gwu.edu. Unsigned comparison with < 0. Jeremy. (This used to be commit 9a083837070c6540a9b92f6a055f8ecc23a32a49) --- source3/libmsrpc/cac_samr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3') 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; -- cgit