summaryrefslogtreecommitdiff
path: root/regress/sys/crypto
diff options
context:
space:
mode:
authormmcc <mmcc@cvs.openbsd.org>2015-10-23 18:44:16 +0000
committermmcc <mmcc@cvs.openbsd.org>2015-10-23 18:44:16 +0000
commita7e0cb3c8250e79d198195149aafad285f4c658d (patch)
tree26cc470c1da66c2511c01b2522996fe2777d262e /regress/sys/crypto
parent53ebce118ad02b2fbd10a1bb13db3b6d84581bdb (diff)
Cast isspace() argument to unsigned char.
Diffstat (limited to 'regress/sys/crypto')
-rw-r--r--regress/sys/crypto/aes/aestest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/sys/crypto/aes/aestest.c b/regress/sys/crypto/aes/aestest.c
index 8a04b96f38e..f51be2a2665 100644
--- a/regress/sys/crypto/aes/aestest.c
+++ b/regress/sys/crypto/aes/aestest.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aestest.c,v 1.2 2014/08/15 14:36:20 mikeb Exp $ */
+/* $OpenBSD: aestest.c,v 1.3 2015/10/23 18:44:15 mmcc Exp $ */
/*
* Copyright (c) 2002 Markus Friedl. All rights reserved.
@@ -91,7 +91,7 @@ startswith(const char *line, const char *startswith)
if (strncmp(line, startswith, len) != 0)
return NULL;
line = line + len;
- while (isspace(*line))
+ while (isspace((unsigned char)*line))
line++;
return line;
}