aboutsummaryrefslogtreecommitdiffstats
path: root/test/ecstresstest.c
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2017-08-21 07:36:23 +1000
committerPauli <paul.dale@oracle.com>2017-08-22 07:35:08 +1000
commit00dfbaad88a69ed8294d6039bf5f7d722f72bf39 (patch)
tree55eed0684ae00018ea84a389530563fea46d4b7e /test/ecstresstest.c
parent0d68367a1279a369146661f4857816b2044116b4 (diff)
downloadopenssl-00dfbaad88a69ed8294d6039bf5f7d722f72bf39.tar.gz
Fix ctype arguments.
Cast arguments to the various ctype functions to unsigned char to match their documentation. Reviewed-by: Andy Polyakov <appro@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4203)
Diffstat (limited to 'test/ecstresstest.c')
-rw-r--r--test/ecstresstest.c2
1 files changed, 1 insertions, 1 deletions
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');