mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-29 19:19:35 -05:00
Warning cleanup: signed meets unsigned.
This commit is contained in:
parent
182c2931c4
commit
e8afbb70fc
1 changed files with 3 additions and 1 deletions
|
|
@ -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 a new issue