summaryrefslogtreecommitdiff
path: root/ext/standard/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/dir.c')
-rw-r--r--ext/standard/dir.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/standard/dir.c b/ext/standard/dir.c
index cc452b5a62..01729c5eba 100644
--- a/ext/standard/dir.c
+++ b/ext/standard/dir.c
@@ -231,7 +231,7 @@ PHP_FUNCTION(getdir)
Close directory connection identified by the dir_handle */
PHP_FUNCTION(closedir)
{
- pval **id, **tmp, *myself;
+ zval **id, **tmp, *myself;
php_stream *dirp;
FETCH_DIRP();
@@ -329,7 +329,7 @@ PHP_FUNCTION(getcwd)
Rewind dir_handle back to the start */
PHP_FUNCTION(rewinddir)
{
- pval **id, **tmp, *myself;
+ zval **id, **tmp, *myself;
php_stream *dirp;
FETCH_DIRP();
@@ -342,7 +342,7 @@ PHP_FUNCTION(rewinddir)
Read directory entry from dir_handle */
PHP_NAMED_FUNCTION(php_if_readdir)
{
- pval **id, **tmp, *myself;
+ zval **id, **tmp, *myself;
php_stream *dirp;
php_stream_dirent entry;