diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-12-26 18:49:30 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-12-26 18:49:30 +0000 |
commit | 221f77a9db36dc14f5f529d616808e5a46d6bb94 (patch) | |
tree | 4b6b4a784ef490c60e46855221e732f534b83d02 /binutils/strings.c | |
parent | 893addd8f424e874cd8c2d7dbfdc554787cb91aa (diff) | |
download | gdb-221f77a9db36dc14f5f529d616808e5a46d6bb94.zip gdb-221f77a9db36dc14f5f529d616808e5a46d6bb94.tar.gz gdb-221f77a9db36dc14f5f529d616808e5a46d6bb94.tar.bz2 |
* strings.c (main): Correct handling of numeric argument.
Diffstat (limited to 'binutils/strings.c')
-rw-r--r-- | binutils/strings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/strings.c b/binutils/strings.c index 8ffe6a1..fb139fa 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; |