com php-src: fix datatype mismatch warning: ext/spl/spl_dllis t.c
| From: | Anatol Belski | Date: | Wed, 29 Oct 2014 14:30:07 +0000 |
| Subject: | com php-src: fix datatype mismatch warning: ext/spl/spl_dllis t.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-82851@lists.php.net to get a copy of this message | ||
Commit: 8041bbb76bb07274cb96bc6b8b8e0cee42648edc
Author: Anatol Belski <ab@php.net> Tue, 28 Oct 2014 20:11:53 +0100
Parents: c6116bea572059baa643f38e491704ec2cb7e030
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=8041bbb76bb07274cb96bc6b8b8e0cee42648edc
Log:
fix datatype mismatch warning
Changed paths:
M ext/spl/spl_dllist.c
Diff:
diff --git a/ext/spl/spl_dllist.c b/ext/spl/spl_dllist.c
index 945f7c7..8a61407 100644
--- a/ext/spl/spl_dllist.c
+++ b/ext/spl/spl_dllist.c
@@ -1182,7 +1182,7 @@ SPL_METHOD(SplDoublyLinkedList, unserialize)
goto error;
}
- intern->flags = Z_LVAL(flags);
+ intern->flags = (int)Z_LVAL(flags);
zval_ptr_dtor(&flags);
/* elements */