summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-08-11 16:15:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:29:30 -0500
commit99a1f5a75c146dd16e7a893f9c5bc71fb0d20c6a (patch)
treef635502cbee16b417c7dead7eac78aa08a3ad3ce /source3
parentd90f6fa1bd9f4aa1e09de1169597e0c703859b75 (diff)
downloadsamba-99a1f5a75c146dd16e7a893f9c5bc71fb0d20c6a.tar.gz
samba-99a1f5a75c146dd16e7a893f9c5bc71fb0d20c6a.tar.bz2
samba-99a1f5a75c146dd16e7a893f9c5bc71fb0d20c6a.zip
r24329: Fix a 64-bit bug
enums are not necessarily represented as 32-bit uints. On assignment (see line 1029) implicit conversion happens, but not when pointers are taken. (This used to be commit 67ec6863dd91ca2421e4541add99dfd739805242)
Diffstat (limited to 'source3')
-rw-r--r--source3/nsswitch/winbindd_ads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_ads.c b/source3/nsswitch/winbindd_ads.c
index 3f9308cb66..227dae9d1c 100644
--- a/source3/nsswitch/winbindd_ads.c
+++ b/source3/nsswitch/winbindd_ads.c
@@ -1009,7 +1009,7 @@ static NTSTATUS lookup_groupmem(struct winbindd_domain *domain,
}
for (i=0; i<num_members; i++) {
- uint32 name_type;
+ enum lsa_SidType name_type;
char *name, *domain_name;
DOM_SID sid;