diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-03-28 18:48:32 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-10-02 15:26:47 +0200 |
commit | e42838206df3ed2064f0b62751b32689b95ca635 (patch) | |
tree | e3dc9e350a99fdddfeea01a30ed16d3665a9a1cb /src | |
parent | update dist for python 3.5 (diff) | |
download | argparser-e42838206df3ed2064f0b62751b32689b95ca635.tar.gz argparser-e42838206df3ed2064f0b62751b32689b95ca635.tar.bz2 argparser-e42838206df3ed2064f0b62751b32689b95ca635.tar.xz |
fix bug reported by textbrowser reported in #15
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/argparser.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)))) |