Skip to content

Commit 62364e6

Browse files
committed
Remove spurious int cast in between two longs
1 parent b903d2d commit 62364e6

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
@@ -875,7 +875,7 @@ SPL_METHOD(SplDoublyLinkedList, offsetUnset)
875875
}
876876

877877
intern = (spl_dllist_object*)zend_object_store_get_object(getThis() TSRMLS_CC);
878-
index = (int)spl_offset_convert_to_long(zindex TSRMLS_CC);
878+
index = spl_offset_convert_to_long(zindex TSRMLS_CC);
879879
llist = intern->llist;
880880

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

0 commit comments

Comments
 (0)