From: Matthias Dieter Wallnöfer Date: Sat, 21 Nov 2009 18:49:56 +0000 (+0100) Subject: s4:lsa RPC - Fix type of variable "atype" X-Git-Url: http://git.samba.org/samba.git/?p=gd%2Fsamba%2F.git;a=commitdiff_plain;h=ae1e949810b3546807b5f88e366970263226d7e0 s4:lsa RPC - Fix type of variable "atype" This is an unsigned 32bit integer. --- diff --git a/source4/rpc_server/lsa/lsa_lookup.c b/source4/rpc_server/lsa/lsa_lookup.c index a164ad6d94e..b044eea105d 100644 --- a/source4/rpc_server/lsa/lsa_lookup.c +++ b/source4/rpc_server/lsa/lsa_lookup.c @@ -243,7 +243,8 @@ static NTSTATUS dcesrv_lsa_lookup_name(struct tevent_context *ev_ctx, struct dom_sid **sid, enum lsa_SidType *rtype, uint32_t *rid) { - int ret, atype, i; + int ret, i; + uint32_t atype; struct ldb_message **res; const char * const attrs[] = { "objectSid", "sAMAccountType", NULL}; const char *p;