diff options
author | thevenyp <thevenyp@280ebfd0-de03-0410-8827-d642c229c3f4> | 2007-11-29 08:36:49 +0000 |
---|---|---|
committer | thevenyp <thevenyp@280ebfd0-de03-0410-8827-d642c229c3f4> | 2007-11-29 08:36:49 +0000 |
commit | bce45b91fbae48fba9d9bb079cd0949b19b14a72 (patch) | |
tree | 0b86e2a83bd48673d07cb073bbb5d1b706cbfb24 /printf.c | |
parent | 3e42bb2faaa5ba59f75736520fa865c35bb07d7e (diff) | |
download | mpfr-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.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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): |