artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00a9809
)
Cast isspace() argument to unsigned char.
author
mmcc
<mmcc@openbsd.org>
Fri, 23 Oct 2015 18:44:15 +0000
(18:44 +0000)
committer
mmcc
<mmcc@openbsd.org>
Fri, 23 Oct 2015 18:44:15 +0000
(18:44 +0000)
regress/sys/crypto/aes/aestest.c
patch
|
blob
|
history
diff --git
a/regress/sys/crypto/aes/aestest.c
b/regress/sys/crypto/aes/aestest.c
index
8a04b96
..
f51be2a
100644
(file)
--- 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;
}