diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2009-07-30 02:33:40 +0400 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2009-07-30 02:33:40 +0400 |
commit | 1cc1af42c1097995912b33cec556a18e8d162923 (patch) | |
tree | 4c94dce4eec69fe2b77708514d9fd460237e3731 /newlib | |
parent | 0e770e72a73301ce4551a977e058c15aa5c32996 (diff) |
2009-07-29 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdlib/a64l.c: Fix to use 'a' instead of 'A' in calculation
when a lower-case character is detected.
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/ChangeLog | 5 | ||||
-rw-r--r-- | newlib/libc/stdlib/a64l.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index fe42b0725..aaf4b530a 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2009-07-29 Jeff Johnston <jjohnstn@redhat.com> + + * libc/stdlib/a64l.c: Fix to use 'a' instead of 'A' in calculation + when a lower-case character is detected. + 2009-07-29 Corinna Vinschen <corinna@vinschen.de> * libc/stdlib/mbtowc_r.c (__utf8_mbtowc): Rework UTF-16 surrogate diff --git a/newlib/libc/stdlib/a64l.c b/newlib/libc/stdlib/a64l.c index 42fc2d2fa..ee3d40d49 100644 --- a/newlib/libc/stdlib/a64l.c +++ b/newlib/libc/stdlib/a64l.c @@ -172,7 +172,7 @@ _DEFUN (a64l, (input), case 'x': case 'y': case 'z': - digit = (ch - 'A') + 38; + digit = (ch - 'a') + 38; break; default: digit = 0; |