Merge branch 'PHP-5.3' into PHP-5.4

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

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) {