[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-cvs
Subject:    [PHP-CVS] com php-src: Fixed compilation warnings (issue #92): =?UTF-8?Q?ext/opcache/Optimizer/zend=
From:       Dmitry Stogov <dmitry () php ! net>
Date:       2013-04-29 6:32:08
Message-ID: php-mail-28e79612c75459ca5df433fcb9f027471684713306 () git ! php ! net
[Download RAW message or body]

Commit:    a5b4eeb5f02084e10913153a4dc5888ce4b43925
Author:    Dmitry Stogov <dmitry@zend.com>         Mon, 29 Apr 2013 10:32:08 +0400
Parents:   8a51bdd3cebf4bb2f49090560da918f70a535ade
Branches:  PHP-5.5 master

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


Log:
Fixed compilation warnings (issue #92)

Bugs:
https://bugs.php.net/92

Changed paths:
  M  ext/opcache/Optimizer/zend_optimizer_internal.h


Diff:
diff --git a/ext/opcache/Optimizer/zend_optimizer_internal.h \
b/ext/opcache/Optimizer/zend_optimizer_internal.h index 0097496..a9bad01 100644
--- a/ext/opcache/Optimizer/zend_optimizer_internal.h
+++ b/ext/opcache/Optimizer/zend_optimizer_internal.h
@@ -26,7 +26,7 @@
 
 #if ZEND_EXTENSION_API_NO > PHP_5_4_X_API_NO
 # define VAR_NUM(v) ((zend_uint)(EX_TMP_VAR_NUM(0, 0) - EX_TMP_VAR(0, v)))
-# define NUM_VAR(v) ((zend_uint)EX_TMP_VAR_NUM(0, v))
+# define NUM_VAR(v) ((zend_uint)(zend_uintptr_t)EX_TMP_VAR_NUM(0, v))
 #else
 # define VAR_NUM(v) ((v)/(sizeof(temp_variable)))
 # define NUM_VAR(v) ((v)*(sizeof(temp_variable)))


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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic