summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-10-06 19:53:48 +0200
committerChristian Grothoff <christian@grothoff.org>2017-10-06 19:53:48 +0200
commite5aed9e5cbe9af294157b8be428385f609c4e066 (patch)
tree0eaf214998e3f92d5a25cd1f59b480d2b72a6b2f /src/util
parent85a2d3dc0e6938ca751bd72cf556173645e09e78 (diff)
downloadexchange-e5aed9e5cbe9af294157b8be428385f609c4e066.tar.gz
exchange-e5aed9e5cbe9af294157b8be428385f609c4e066.tar.bz2
exchange-e5aed9e5cbe9af294157b8be428385f609c4e066.zip
fix signed calls to isalpha/isdigit/isspace etc.
Diffstat (limited to 'src/util')
-rw-r--r--src/util/amount.c2
1 files changed, 1 insertions, 1 deletions
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])
{