From a38d3caef596a604f3149bf23845550b980c3c47 Mon Sep 17 00:00:00 2001 From: mmcc Date: Fri, 23 Oct 2015 18:44:15 +0000 Subject: [PATCH] Cast isspace() argument to unsigned char. --- regress/sys/crypto/aes/aestest.c | 4 ++-- 1 file 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; } -- 2.20.1