mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
Warning cleanup: signed meets unsigned.
This commit is contained in:
parent
182c2931c4
commit
e8afbb70fc
@ -1082,7 +1082,9 @@ idassert-authzFrom "dn:<rootdn>"
|
||||
return 1;
|
||||
}
|
||||
|
||||
if ( snprintf( binddn, sizeof( binddn ), "binddn=%s", argv[ 1 ] ) >= sizeof( binddn ) ) {
|
||||
if ( sizeof( binddn ) <= (unsigned) snprintf( binddn,
|
||||
sizeof( binddn ), "binddn=%s", argv[ 1 ] ))
|
||||
{
|
||||
Debug( LDAP_DEBUG_ANY, "%s: line %d: \"pseudorootdn\" too long.\n",
|
||||
fname, lineno, 0 );
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user