From e42838206df3ed2064f0b62751b32689b95ca635 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 28 Mar 2015 18:48:32 +0100 Subject: fix bug reported by textbrowser reported in #15 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/argparser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/argparser.c') diff --git a/src/argparser.c b/src/argparser.c index 527b40e..9a0445f 100644 --- a/src/argparser.c +++ b/src/argparser.c @@ -1636,7 +1636,7 @@ int args_parse(int argc, char** argv) */ static int cmp(const char* a, const char* b) { - char c; + int c; while (*a && *b) { if ((c = (*a < *b ? -1 : (*a > *b ? 1 : 0)))) -- cgit v1.2.3-70-g09d2