mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
cast isdigit argument to unsigned char.
This commit is contained in:
parent
4eb36216db
commit
701f6b9d5d
1 changed files with 1 additions and 1 deletions
|
|
@ -151,7 +151,7 @@ slap_tool_init(
|
|||
|
||||
case 'i': /* specify syncrepl id list */
|
||||
replica_id_string = strdup( optarg );
|
||||
if ( !isdigit( *replica_id_string )) {
|
||||
if ( !isdigit( (unsigned char) *replica_id_string )) {
|
||||
usage( tool );
|
||||
exit( EXIT_FAILURE );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue