From 701f6b9d5d708e2bb55d2ec6da4d6d7433fa70c8 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Thu, 30 Oct 2003 22:55:02 +0000 Subject: [PATCH] cast isdigit argument to unsigned char. --- servers/slapd/tools/slapcommon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); } -- 2.39.5