1
0
mirror of https://github.com/php/php-src.git synced 2026-04-02 21:52:36 +02:00

Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Remove spurious int cast in between two longs
This commit is contained in:
Etienne Kneuss
2013-03-16 18:20:16 +01:00

View File

@@ -880,7 +880,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) {