@@ -1831,7 +1831,7 @@ static zend_object *date_object_new_date(zend_class_entry *class_type) /* {{{ */
18311831
18321832static zend_object * date_object_clone_date (zend_object * this_ptr ) /* {{{ */
18331833{
1834- php_date_obj * old_obj = php_date_obj_from_obj (this_ptr );
1834+ const php_date_obj * old_obj = php_date_obj_from_obj (this_ptr );
18351835 php_date_obj * new_obj = php_date_obj_from_obj (date_object_new_date (old_obj -> std .ce ));
18361836
18371837 zend_objects_clone_members (& new_obj -> std , & old_obj -> std );
@@ -1988,7 +1988,7 @@ static zend_object *date_object_new_timezone(zend_class_entry *class_type) /* {{
19881988
19891989static zend_object * date_object_clone_timezone (zend_object * this_ptr ) /* {{{ */
19901990{
1991- php_timezone_obj * old_obj = php_timezone_obj_from_obj (this_ptr );
1991+ const php_timezone_obj * old_obj = php_timezone_obj_from_obj (this_ptr );
19921992 php_timezone_obj * new_obj = php_timezone_obj_from_obj (date_object_new_timezone (old_obj -> std .ce ));
19931993
19941994 zend_objects_clone_members (& new_obj -> std , & old_obj -> std );
@@ -2131,7 +2131,7 @@ static zend_object *date_object_new_interval(zend_class_entry *class_type) /* {{
21312131
21322132static zend_object * date_object_clone_interval (zend_object * this_ptr ) /* {{{ */
21332133{
2134- php_interval_obj * old_obj = php_interval_obj_from_obj (this_ptr );
2134+ const php_interval_obj * old_obj = php_interval_obj_from_obj (this_ptr );
21352135 php_interval_obj * new_obj = php_interval_obj_from_obj (date_object_new_interval (old_obj -> std .ce ));
21362136
21372137 zend_objects_clone_members (& new_obj -> std , & old_obj -> std );
@@ -2222,7 +2222,7 @@ static zend_object *date_object_new_period(zend_class_entry *class_type) /* {{{
22222222
22232223static zend_object * date_object_clone_period (zend_object * this_ptr ) /* {{{ */
22242224{
2225- php_period_obj * old_obj = php_period_obj_from_obj (this_ptr );
2225+ const php_period_obj * old_obj = php_period_obj_from_obj (this_ptr );
22262226 php_period_obj * new_obj = php_period_obj_from_obj (date_object_new_period (old_obj -> std .ce ));
22272227
22282228 zend_objects_clone_members (& new_obj -> std , & old_obj -> std );
0 commit comments