From: mmcc Date: Fri, 23 Oct 2015 18:44:15 +0000 (+0000) Subject: Cast isspace() argument to unsigned char. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=a38d3caef596a604f3149bf23845550b980c3c47;p=openbsd Cast isspace() argument to unsigned char. --- 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; }