From: Rafael Garcia-Suarez Date: Tue, 10 Mar 2009 12:29:48 +0000 (+0100) Subject: Fix a printf compilation warning X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=edd52d85e45405ef42b088035525f7cacc2fab77;p=p5sagit%2Fp5-mst-13.2.git Fix a printf compilation warning --- diff --git a/ext/XS-Typemap/stdio.c b/ext/XS-Typemap/stdio.c index fc4bf45..da4fe57 100644 --- a/ext/XS-Typemap/stdio.c +++ b/ext/XS-Typemap/stdio.c @@ -23,6 +23,6 @@ int xsfclose ( FILE * stream ) { int xsfprintf ( FILE * stream, const char * text ) { - return fprintf( stream, text ); + return fprintf( stream, "%s", text ); }