diff options
Diffstat (limited to 'ext/standard/browscap.c')
| -rw-r--r-- | ext/standard/browscap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/browscap.c b/ext/standard/browscap.c index dbef99ecc1..8a13ebacaa 100644 --- a/ext/standard/browscap.c +++ b/ext/standard/browscap.c @@ -116,7 +116,7 @@ static void php_browscap_parser_cb(zval *arg1, zval *arg2, int callback_type, vo INIT_PZVAL(processed); /* OBJECTS_FIXME */ - Z_OBJCE_P(current_section) = &zend_standard_class_def; + Z_OBJCE_P(current_section) = ZEND_STANDARD_CLASS_DEF_PTR; Z_OBJPROP_P(current_section) = (HashTable *) malloc(sizeof(HashTable)); Z_TYPE_P(current_section) = IS_OBJECT; zend_hash_init(Z_OBJPROP_P(current_section), 0, NULL, (dtor_func_t) browscap_entry_dtor, 1); |
