summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-28 11:21:56 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-28 14:51:09 +0200
commite5c5d371d144847ce1fbb8daa634d6bfbc1af1ac (patch)
tree546848c52c690e53dc6222f1d66920b4cfbf7204
parent666b611182562ad787d349f3a29c07c61339eee0 (diff)
downloadsamba-e5c5d371d144847ce1fbb8daa634d6bfbc1af1ac.tar.gz
samba-e5c5d371d144847ce1fbb8daa634d6bfbc1af1ac.tar.bz2
samba-e5c5d371d144847ce1fbb8daa634d6bfbc1af1ac.zip
s4:dcesrv_drsuapi.c - fix a counter variable
-rw-r--r--source4/rpc_server/drsuapi/dcesrv_drsuapi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/rpc_server/drsuapi/dcesrv_drsuapi.c b/source4/rpc_server/drsuapi/dcesrv_drsuapi.c
index 5d3c513f3f..0f49a732e0 100644
--- a/source4/rpc_server/drsuapi/dcesrv_drsuapi.c
+++ b/source4/rpc_server/drsuapi/dcesrv_drsuapi.c
@@ -352,8 +352,7 @@ static WERROR dcesrv_drsuapi_DsCrackNames(struct dcesrv_call_state *dce_call, TA
case 1: {
struct drsuapi_DsNameCtr1 *ctr1;
struct drsuapi_DsNameInfo1 *names;
- int count;
- int i;
+ uint32_t i, count;
ctr1 = talloc(mem_ctx, struct drsuapi_DsNameCtr1);
W_ERROR_HAVE_NO_MEMORY(ctr1);