summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/standard/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/file.c b/ext/standard/file.c
index c3b20f23a5..e57305a3a2 100644
--- a/ext/standard/file.c
+++ b/ext/standard/file.c
@@ -1288,7 +1288,7 @@ PHP_FUNCTION(fscanf)
}
if (((php_stream *)what)->readbuf_type == IS_UNICODE) {
- u_buf = php_stream_u_get_line((php_stream *) what, NULL_ZSTR, 0, 0, NULL TSRMLS_CC);
+ u_buf = php_stream_u_get_line((php_stream *) what, NULL_ZSTR, 0, 0, NULL);
if (u_buf == NULL) {
efree(args);
RETURN_FALSE;