mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-27 07:34:20 +00:00
Bug: 337210
Description: ber_scanf sometimes gives incorrect return code on 64-bit Fix: ber_get_boolean needs to get the return value of ber_get_int as an unsigned long and return that unsigned long value
This commit is contained in:
parent
1b19985fdb
commit
78f3c060b2
@ -397,7 +397,7 @@ LDAP_CALL
|
||||
ber_get_boolean( BerElement *ber, int *boolval )
|
||||
{
|
||||
long longbool;
|
||||
int rc;
|
||||
unsigned long rc;
|
||||
|
||||
rc = ber_get_int( ber, &longbool );
|
||||
*boolval = longbool;
|
||||
|
Loading…
x
Reference in New Issue
Block a user