From e5aed9e5cbe9af294157b8be428385f609c4e066 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 6 Oct 2017 19:53:48 +0200 Subject: fix signed calls to isalpha/isdigit/isspace etc. --- src/util/amount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util/amount.c') diff --git a/src/util/amount.c b/src/util/amount.c index e0664853a..33ba9a2f7 100644 --- a/src/util/amount.c +++ b/src/util/amount.c @@ -52,7 +52,7 @@ TALER_string_to_amount (const char *str, 0, sizeof (struct TALER_Amount)); /* skip leading whitespace */ - while (isspace(str[0])) + while (isspace( (unsigned char) str[0])) str++; if ('\0' == str[0]) { -- cgit v1.2.3