From: Hallvard Furuseth Date: Thu, 30 Oct 2003 22:55:02 +0000 (+0000) Subject: cast isdigit argument to unsigned char. X-Git-Tag: OPENLDAP_REL_ENG_2_1_MP~474 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=701f6b9d5d708e2bb55d2ec6da4d6d7433fa70c8;p=openldap cast isdigit argument to unsigned char. --- diff --git a/servers/slapd/tools/slapcommon.c b/servers/slapd/tools/slapcommon.c index 073f2924c2..cea438712d 100644 --- a/servers/slapd/tools/slapcommon.c +++ b/servers/slapd/tools/slapcommon.c @@ -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 ); }