diff options
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/ChangeLog | 5 | ||||
-rw-r--r-- | newlib/libc/machine/powerpc/vfscanf.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 19e7ebd3b..0cc84c957 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2004-04-26 Aldy Hernandez <aldyh@redhat.com> + + * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in + CT_INT case. + 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com> * configure.in: Define _MB_CAPABLE if mb supported. diff --git a/newlib/libc/machine/powerpc/vfscanf.c b/newlib/libc/machine/powerpc/vfscanf.c index 00aafb508..dfbde8bd6 100644 --- a/newlib/libc/machine/powerpc/vfscanf.c +++ b/newlib/libc/machine/powerpc/vfscanf.c @@ -800,6 +800,7 @@ __svfscanf_r (rptr, fp, fmt0, ap) continue; case CT_INT: + { unsigned int_width_left = 0; int_width = width; #ifdef hardway @@ -1005,6 +1006,7 @@ __svfscanf_r (rptr, fp, fmt0, ap) } nread += p - buf; break; + } #ifdef FLOATING_POINT case CT_FLOAT: |