projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
af6492b
)
Fix a printf compilation warning
Rafael Garcia-Suarez [Tue, 10 Mar 2009 12:29:48 +0000 (13:29 +0100)]
ext/XS-Typemap/stdio.c
patch
|
blob
|
blame
|
history
diff --git
a/ext/XS-Typemap/stdio.c
b/ext/XS-Typemap/stdio.c
index
fc4bf45
..
da4fe57
100644
(file)
--- 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 );
}