From: Etienne Kneuss Date: Tue, 15 Jan 2008 12:17:09 +0000 (+0000) Subject: Fix ZTS build X-Git-Tag: RELEASE_2_0_0a1~892 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4068cea2527a20e6267d91cbeea0d86dfc1ab106;p=php Fix ZTS build --- diff --git a/ext/spl/spl_dllist.c b/ext/spl/spl_dllist.c index 086043da0d..121b97881c 100644 --- a/ext/spl/spl_dllist.c +++ b/ext/spl/spl_dllist.c @@ -671,7 +671,7 @@ SPL_METHOD(SplDoublyLinkedList, offsetExists) } intern = (spl_dllist_object*)zend_object_store_get_object(getThis() TSRMLS_CC); - index = spl_dllist_offset_convert(zindex); + index = spl_dllist_offset_convert(zindex TSRMLS_CC); RETURN_BOOL(index >= 0 && index < intern->llist->count); } /* }}} */ @@ -690,7 +690,7 @@ SPL_METHOD(SplDoublyLinkedList, offsetGet) } intern = (spl_dllist_object*)zend_object_store_get_object(getThis() TSRMLS_CC); - index = spl_dllist_offset_convert(zindex); + index = spl_dllist_offset_convert(zindex TSRMLS_CC); if (index < 0 || index >= intern->llist->count) { zend_throw_exception(spl_ce_OutOfRangeException, "Offset out of range", 0 TSRMLS_CC); @@ -730,7 +730,7 @@ SPL_METHOD(SplDoublyLinkedList, offsetSet) long index; spl_ptr_llist_element *element; - index = spl_dllist_offset_convert(zindex); + index = spl_dllist_offset_convert(zindex TSRMLS_CC); if (index < 0 || index >= intern->llist->count) { zend_throw_exception(spl_ce_OutOfRangeException, "Offset out of range", 0 TSRMLS_CC); @@ -766,7 +766,7 @@ SPL_METHOD(SplDoublyLinkedList, offsetUnset) } intern = (spl_dllist_object*)zend_object_store_get_object(getThis() TSRMLS_CC); - index = (int)spl_dllist_offset_convert(zindex); + index = (int)spl_dllist_offset_convert(zindex TSRMLS_CC); llist = intern->llist; if (index < 0 || index >= intern->llist->count) {