Commit:    62364e6e01092911fa11e6d28f9acc3ed9af07e8
Author:    Etienne Kneuss <col...@php.net>         Sat, 16 Mar 2013 18:19:14 
+0100
Parents:   b903d2d6cdf9a9efac181a21e95ea93dc8a864dd
Branches:  PHP-5.3 PHP-5.4 PHP-5.5 master

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=62364e6e01092911fa11e6d28f9acc3ed9af07e8

Log:
Remove spurious int cast in between two longs

Changed paths:
  M  ext/spl/spl_dllist.c


Diff:
diff --git a/ext/spl/spl_dllist.c b/ext/spl/spl_dllist.c
index 964ad99..38e6aac 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) {


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to