]> git.sur5r.net Git - openldap/commitdiff
ctype.h args should be in the range of unsigned char (or EOF).
authorHallvard Furuseth <hallvard@openldap.org>
Thu, 11 Jan 2007 12:00:39 +0000 (12:00 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Thu, 11 Jan 2007 12:00:39 +0000 (12:00 +0000)
tests/progs/slapd-tester.c

index 74086ec84c849a4d61910b58768c6ae9cd8638e9..0f275406611b9816f25000787ac6e0ea02a723de 100644 (file)
@@ -269,7 +269,7 @@ main( int argc, char **argv )
                        break;
 
                case 'l':               /* the number of loops per client */
-                       if ( !isdigit( optarg[0] ) ) {
+                       if ( !isdigit( (unsigned char) optarg[0] ) ) {
                                char    **p,
                                        **l = ldap_str2charray( optarg, "," );