From 79ddc4888a3003ddbe45f1552dac3fea5e0741d4 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 6 Oct 2017 21:17:56 +0200 Subject: fix leak --- src/ats-tool/gnunet-ats.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ats-tool') diff --git a/src/ats-tool/gnunet-ats.c b/src/ats-tool/gnunet-ats.c index 5ec7693b1..d88e6d523 100644 --- a/src/ats-tool/gnunet-ats.c +++ b/src/ats-tool/gnunet-ats.c @@ -872,8 +872,8 @@ run (void *cls, for (c = 0; c < strlen (opt_type_str); c++) { - if (isupper (opt_type_str[c])) - opt_type_str[c] = tolower (opt_type_str[c]); + if (isupper ((unsigned char) opt_type_str[c])) + opt_type_str[c] = tolower ((unsigned char) opt_type_str[c]); } if (0 == strcasecmp ("latency", opt_type_str)) @@ -974,7 +974,7 @@ main (int argc, gettext_noop ("set preference for the given peer"), &opt_set_pref), - GNUNET_GETOPT_option_flag ('q', + GNUNET_GETOPT_option_flag ('q', "quotas", gettext_noop ("print all configured quotas"), &opt_print_quotas), -- cgit v1.2.3