diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2004-04-27 02:43:34 +0400 |
---|---|---|
committer | Aldy Hernandez <aldyh@redhat.com> | 2004-04-27 02:43:34 +0400 |
commit | b4ddf48953cb6279a27bf9b272884072cda7c6b5 (patch) | |
tree | ca2f4f9b6f2bf3a6b0433ac84eba488f33419c31 | |
parent | f49dc8e6457132743f8695915ecd249e5595c442 (diff) |
* libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
CT_INT case.
-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: |