summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-11-21 19:49:56 +0100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-11-21 19:53:37 +0100
commitae1e949810b3546807b5f88e366970263226d7e0 (patch)
tree81689629bb572cd332a6fb3d60e80a3f187fcaa7 /source4/rpc_server
parent7d5367fc99a559b19efed11c9c7a0f24c593606d (diff)
downloadsamba-ae1e949810b3546807b5f88e366970263226d7e0.tar.gz
samba-ae1e949810b3546807b5f88e366970263226d7e0.tar.bz2
samba-ae1e949810b3546807b5f88e366970263226d7e0.zip
s4:lsa RPC - Fix type of variable "atype"
This is an unsigned 32bit integer.
Diffstat (limited to 'source4/rpc_server')
-rw-r--r--source4/rpc_server/lsa/lsa_lookup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/rpc_server/lsa/lsa_lookup.c b/source4/rpc_server/lsa/lsa_lookup.c
index a164ad6d94..b044eea105 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;