From: Etienne Kneuss Date: Sat, 16 Mar 2013 17:19:14 +0000 (+0100) Subject: Remove spurious int cast in between two longs X-Git-Tag: php-5.3.24RC1~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=62364e6e01092911fa11e6d28f9acc3ed9af07e8;p=php Remove spurious int cast in between two longs --- diff --git a/ext/spl/spl_dllist.c b/ext/spl/spl_dllist.c index 964ad994da..38e6aaccd9 100644 --- a/ext/spl/spl_dllist.c +++ b/ext/spl/spl_dllist.c @@ -875,7 +875,7 @@ SPL_METHOD(SplDoublyLinkedList, offsetUnset) } intern = (spl_dllist_object*)zend_object_store_get_object(getThis() TSRMLS_CC); - index = (int)spl_offset_convert_to_long(zindex TSRMLS_CC); + index = spl_offset_convert_to_long(zindex TSRMLS_CC); llist = intern->llist; if (index < 0 || index >= intern->llist->count) {