summaryrefslogtreecommitdiff
path: root/printf.c
diff options
context:
space:
mode:
authorthevenyp <thevenyp@280ebfd0-de03-0410-8827-d642c229c3f4>2007-11-29 08:36:49 +0000
committerthevenyp <thevenyp@280ebfd0-de03-0410-8827-d642c229c3f4>2007-11-29 08:36:49 +0000
commitbce45b91fbae48fba9d9bb079cd0949b19b14a72 (patch)
tree0b86e2a83bd48673d07cb073bbb5d1b706cbfb24 /printf.c
parent3e42bb2faaa5ba59f75736520fa865c35bb07d7e (diff)
downloadmpfr-bce45b91fbae48fba9d9bb079cd0949b19b14a72.tar.gz
fix typo pointed out in revision 5044
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5046 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'printf.c')
-rw-r--r--printf.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/printf.c b/printf.c
index fb55bc72b..370c8e9b0 100644
--- a/printf.c
+++ b/printf.c
@@ -170,10 +170,7 @@ mpfr_vsnprintf (char *buf, size_t size, const char *fmt, va_list ap)
do not have it, it is probably better to write a version that will
check that the return value is not larger than INT_MAX and use it
unconditionally. */
- /* FIXME: warning: passing argument 3 of 'snprintf' from
- incompatible pointer type
- Remove the "&"? (The code lacks of comments...) */
- ret = snprintf (buf, size, &strp);
+ ret = snprintf (buf, size, strp);
/* FIXME: if we do not use our own snprintf function, here's a proposed
solution to detect the case where the ideal return value is larger
than INT_MAX (for POSIX systems):