зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
1b825326c2
Коммит
97c356a610
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче