Skip to content

Commit 5de1b08

Browse files
committed
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3: Remove spurious int cast in between two longs
2 parents 73c38ec + 62364e6 commit 5de1b08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/spl/spl_dllist.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@ SPL_METHOD(SplDoublyLinkedList, offsetUnset)
880880
}
881881

882882
intern = (spl_dllist_object*)zend_object_store_get_object(getThis() TSRMLS_CC);
883-
index = (int)spl_offset_convert_to_long(zindex TSRMLS_CC);
883+
index = spl_offset_convert_to_long(zindex TSRMLS_CC);
884884
llist = intern->llist;
885885

886886
if (index < 0 || index >= intern->llist->count) {

0 commit comments

Comments
 (0)