From 63130ca78274266590a7c9f7b1cc0e4a01a74de7 Mon Sep 17 00:00:00 2001 From: Hartmut Holzgraefe Date: Thu, 29 May 2003 20:24:00 +0000 Subject: [PATCH] MFH --- main/user_streams.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main/user_streams.c b/main/user_streams.c index 1de2293401..1b3a813494 100644 --- a/main/user_streams.c +++ b/main/user_streams.c @@ -628,12 +628,12 @@ static int php_userstreamop_seek(php_stream *stream, off_t offset, int whence, o * relevant fields into the statbuf provided */ static int statbuf_from_array(zval *array, php_stream_statbuf *ssb TSRMLS_DC) { - zval *elem; + zval **elem; #define STAT_PROP_ENTRY(name) \ if (SUCCESS == zend_hash_find(Z_ARRVAL_P(array), #name, sizeof(#name), (void**)&elem)) { \ - convert_to_long(elem); \ - ssb->sb.st_##name = Z_LVAL_P(elem); \ + convert_to_long(*elem); \ + ssb->sb.st_##name = Z_LVAL_PP(elem); \ } STAT_PROP_ENTRY(dev); -- 2.50.1