summaryrefslogtreecommitdiff
path: root/src/util/amount.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/amount.c')
-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])
{