summaryrefslogtreecommitdiff
path: root/ext/sybase
diff options
context:
space:
mode:
authorThies C. Arntzen <thies@php.net>2001-08-11 12:02:20 +0000
committerThies C. Arntzen <thies@php.net>2001-08-11 12:02:20 +0000
commit8b480b8c096e6797028432bb9f0987ab3b03a0a7 (patch)
tree8e1be5f970c0c7c73aa16ca738df1a730cfd1449 /ext/sybase
parent384c86542a91c1e1bb2fc5a3751d8bd93c8ee5ea (diff)
downloadphp-git-8b480b8c096e6797028432bb9f0987ab3b03a0a7.tar.gz
make sybase compile with engine2
Diffstat (limited to 'ext/sybase')
-rw-r--r--ext/sybase/php_sybase_db.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/sybase/php_sybase_db.c b/ext/sybase/php_sybase_db.c
index 8823ea0810..db6adf7ceb 100644
--- a/ext/sybase/php_sybase_db.c
+++ b/ext/sybase/php_sybase_db.c
@@ -1009,8 +1009,8 @@ PHP_FUNCTION(sybase_fetch_object)
php_sybase_fetch_hash(INTERNAL_FUNCTION_PARAM_PASSTHRU);
if (return_value->type==IS_ARRAY) {
return_value->type=IS_OBJECT;
- return_value->value.obj.properties = return_value->value.ht;
- return_value->value.obj.ce = &zend_standard_class_def;
+ Z_OBJPROP_P(return_value) = return_value->value.ht;
+ Z_OBJCE_P(return_value) = &zend_standard_class_def;
}
}
/* }}} */