summaryrefslogtreecommitdiff
path: root/ext/XS-Typemap
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2009-03-10 13:29:48 +0100
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2009-03-10 13:29:48 +0100
commitedd52d85e45405ef42b088035525f7cacc2fab77 (patch)
tree7bfd6b6601fafc9eb6a40f1b7b60a81cbf8a3dd5 /ext/XS-Typemap
parentaf6492bf9e9f3e5024e49941789a1c85db7d4906 (diff)
downloadperl-edd52d85e45405ef42b088035525f7cacc2fab77.tar.gz
Fix a printf compilation warning
Diffstat (limited to 'ext/XS-Typemap')
-rw-r--r--ext/XS-Typemap/stdio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/XS-Typemap/stdio.c b/ext/XS-Typemap/stdio.c
index fc4bf45c2f..da4fe570ac 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 );
}