From b4ddf48953cb6279a27bf9b272884072cda7c6b5 Mon Sep 17 00:00:00 2001 From: Aldy Hernandez Date: Mon, 26 Apr 2004 22:43:34 +0000 Subject: * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in CT_INT case. --- newlib/libc/machine/powerpc/vfscanf.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'newlib/libc') 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: -- cgit v1.2.3