]> git.sur5r.net Git - openldap/commitdiff
cast isdigit argument to unsigned char.
authorHallvard Furuseth <hallvard@openldap.org>
Thu, 30 Oct 2003 22:55:02 +0000 (22:55 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Thu, 30 Oct 2003 22:55:02 +0000 (22:55 +0000)
servers/slapd/tools/slapcommon.c

index 073f2924c22117408c3d1f25b10e1d41c3286952..cea438712da9aab77266541e59001388c8df12ec 100644 (file)
@@ -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 );
                        }