From 00dfbaad88a69ed8294d6039bf5f7d722f72bf39 Mon Sep 17 00:00:00 2001 From: Pauli Date: Mon, 21 Aug 2017 07:36:23 +1000 Subject: Fix ctype arguments. Cast arguments to the various ctype functions to unsigned char to match their documentation. Reviewed-by: Andy Polyakov (Merged from https://github.com/openssl/openssl/pull/4203) --- test/ecstresstest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ecstresstest.c') diff --git a/test/ecstresstest.c b/test/ecstresstest.c index 7c76f02108..b47095cba0 100644 --- a/test/ecstresstest.c +++ b/test/ecstresstest.c @@ -109,7 +109,7 @@ static int atoi64(const char *in, int64_t *result) for ( ; *in != '\0'; in++) { char c = *in; - if (!isdigit(c)) + if (!isdigit((unsigned char)c)) return 0; ret *= 10; ret += (c - '0'); -- cgit v1.2.3