From: Ian Lance Taylor Date: Sun, 26 Dec 1999 18:49:30 +0000 (+0000) Subject: * strings.c (main): Correct handling of numeric argument. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=221f77a9db36dc14f5f529d616808e5a46d6bb94;p=binutils-gdb.git * strings.c (main): Correct handling of numeric argument. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index d53797d6eae..7a594103019 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +1999-12-26 Ian Lance Taylor + + * strings.c (main): Correct handling of numeric argument. + 1999-12-23 Andrew Haley * dlltool.c (mtable): mcore how_jtab_roff is 4 bytes into the diff --git a/binutils/strings.c b/binutils/strings.c index 8ffe6a16625..fb139fab9be 100644 --- a/binutils/strings.c +++ b/binutils/strings.c @@ -203,7 +203,7 @@ main (argc, argv) default: if (string_min < 0) - string_min = optc; + string_min = optc - '0'; else string_min = string_min * 10 + optc - '0'; break;