wldap32: Use correct integral type.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com> Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
843a0a3811
commit
d1265abbc4
|
@ -145,7 +145,7 @@ void CDECL ber_bvfree( BERVAL *berval )
|
|||
*/
|
||||
ULONG CDECL ber_first_element( BerElement *ber, ULONG *len, char **opaque )
|
||||
{
|
||||
struct ber_first_element_params params = { BER(ber), len, opaque };
|
||||
struct ber_first_element_params params = { BER(ber), (unsigned int *)len, opaque };
|
||||
return LDAP_CALL( ber_first_element, ¶ms );
|
||||
}
|
||||
|
||||
|
@ -265,7 +265,7 @@ BerElement * CDECL ber_init( BERVAL *berval )
|
|||
*/
|
||||
ULONG CDECL ber_next_element( BerElement *ber, ULONG *len, char *opaque )
|
||||
{
|
||||
struct ber_next_element_params params = { BER(ber), len, opaque };
|
||||
struct ber_next_element_params params = { BER(ber), (unsigned int *)len, opaque };
|
||||
return LDAP_CALL( ber_next_element, ¶ms );
|
||||
}
|
||||
|
||||
|
@ -285,7 +285,7 @@ ULONG CDECL ber_next_element( BerElement *ber, ULONG *len, char *opaque )
|
|||
*/
|
||||
ULONG CDECL ber_peek_tag( BerElement *ber, ULONG *len )
|
||||
{
|
||||
struct ber_peek_tag_params params = { BER(ber), len };
|
||||
struct ber_peek_tag_params params = { BER(ber), (unsigned int *)len };
|
||||
return LDAP_CALL( ber_peek_tag, ¶ms );
|
||||
}
|
||||
|
||||
|
@ -305,7 +305,7 @@ ULONG CDECL ber_peek_tag( BerElement *ber, ULONG *len )
|
|||
*/
|
||||
ULONG CDECL ber_skip_tag( BerElement *ber, ULONG *len )
|
||||
{
|
||||
struct ber_skip_tag_params params = { BER(ber), len };
|
||||
struct ber_skip_tag_params params = { BER(ber), (unsigned int *)len };
|
||||
return LDAP_CALL( ber_skip_tag, ¶ms );
|
||||
}
|
||||
|
||||
|
|
|
@ -106,7 +106,7 @@ struct ber_alloc_t_params
|
|||
struct ber_first_element_params
|
||||
{
|
||||
void *ber;
|
||||
ULONG *ret_len;
|
||||
unsigned int *ret_len;
|
||||
char **last;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue