summaryrefslogtreecommitdiff
path: root/ext/swf
diff options
context:
space:
mode:
Diffstat (limited to 'ext/swf')
-rw-r--r--ext/swf/swf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/swf/swf.c b/ext/swf/swf.c
index eaea922cc0..146d25473c 100644
--- a/ext/swf/swf.c
+++ b/ext/swf/swf.c
@@ -175,7 +175,7 @@ PHP_FUNCTION(swf_openfile)
}
#endif
- swf_openfile((strcasecmp("php://stdout", na)==0) ? fileno(stdout) : na,
+ swf_openfile((strcasecmp("php://stdout", na)==0) ? "STDOUT" : na,
(float)Z_DVAL_PP(sizeX), (float)Z_DVAL_PP(sizeY),
(float)Z_DVAL_PP(frameRate), (float)Z_DVAL_PP(r), (float)Z_DVAL_PP(g), (float)Z_DVAL_PP(b));
#ifdef VIRTUAL_DIR