diff options
author | Volker Lendecke <vl@samba.org> | 2009-04-23 14:24:16 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-04-23 14:35:50 +0200 |
commit | 2146310fb75b743d383aeeae3ac121e37903f229 (patch) | |
tree | 5cdf7afcfc30dd78640bc8b5b311e0b5cbbc3d79 /libcli/ldap | |
parent | b8cd1cff2dfad726cf6dab368dfcc31a29952889 (diff) | |
download | samba-2146310fb75b743d383aeeae3ac121e37903f229.tar.gz samba-2146310fb75b743d383aeeae3ac121e37903f229.tar.bz2 samba-2146310fb75b743d383aeeae3ac121e37903f229.zip |
Fix a couple of warnings
Diffstat (limited to 'libcli/ldap')
-rw-r--r-- | libcli/ldap/ldap_message.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcli/ldap/ldap_message.c b/libcli/ldap/ldap_message.c index 9b00d0188d..8b0f8a2ea1 100644 --- a/libcli/ldap/ldap_message.c +++ b/libcli/ldap/ldap_message.c @@ -1230,8 +1230,8 @@ _PUBLIC_ NTSTATUS ldap_decode(struct asn1_data *data, msg->type = LDAP_TAG_SearchRequest; asn1_start_tag(data, tag); asn1_read_OctetString_talloc(msg, data, &r->basedn); - asn1_read_enumerated(data, (int *)&(r->scope)); - asn1_read_enumerated(data, (int *)&(r->deref)); + asn1_read_enumerated(data, (int *)(void *)&(r->scope)); + asn1_read_enumerated(data, (int *)(void *)&(r->deref)); asn1_read_Integer(data, &sizelimit); r->sizelimit = sizelimit; asn1_read_Integer(data, &timelimit); |