From 64cfc6f213541f0e9e8e57011af8a56aca8c8216 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Wed, 19 Nov 2003 17:07:36 +0000 Subject: [PATCH] 2003-11-19 Nicholas Wourms * configure.host: Enable positional arguments for printf family for Cygwin. * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous pointer reference for quad_ptr_t. --- newlib/ChangeLog | 7 +++++++ newlib/libc/stdio/vfprintf.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 2de9108d3..5f13b8e7d 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,10 @@ +2003-11-19 Nicholas Wourms + + * configure.host: Enable positional arguments for printf + family for Cygwin. + * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous + pointer reference for quad_ptr_t. + 2003-11-19 Jeff Johnston * libc/stdio/scanf.c: Don't include local.h more than once. diff --git a/newlib/libc/stdio/vfprintf.c b/newlib/libc/stdio/vfprintf.c index 251c3b02c..c96ffd09b 100644 --- a/newlib/libc/stdio/vfprintf.c +++ b/newlib/libc/stdio/vfprintf.c @@ -869,7 +869,7 @@ reswitch: switch (ch) { case 'n': #ifndef _NO_LONGLONG if (flags & QUADINT) - *GET_ARG(N, ap, quad_ptr_t *) = ret; + *GET_ARG(N, ap, quad_ptr_t) = ret; else #endif if (flags & LONGINT)