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

List:       php-cvs
Subject:    [PHP-CVS] [php-src] jit-arm64: Fix compilation warning
From:       Dmitry Stogov <noreply () php ! net>
Date:       2021-04-30 16:45:11
Message-ID: Hs3CloNpHbHp1uKqio9imjRBTVU2yQ4tAqi9Ljeb80 () main ! php ! net
[Download RAW message or body]

Author: Dmitry Stogov (dstogov)
Date: 2021-04-30T19:44:58+03:00

Commit: https://github.com/php/php-src/commit/226d54df68efd175e14b63ba8278a4aa0458fff2
Raw diff: https://github.com/php/php-src/commit/226d54df68efd175e14b63ba8278a4aa0458fff2.diff

Fix compilation warning

Changed paths:
  M  ext/opcache/jit/zend_jit_arm64.dasc


Diff:

diff --git a/ext/opcache/jit/zend_jit_arm64.dasc b/ext/opcache/jit/zend_jit_arm64.dasc
index 69ee2f6cd301..00c8e2d541ba 100644
--- a/ext/opcache/jit/zend_jit_arm64.dasc
+++ b/ext/opcache/jit/zend_jit_arm64.dasc
@@ -105,7 +105,7 @@
 
 #define B_IMM26         (((1<<26)-1)*4)
 
-static bool arm64_may_use_b(void *addr)
+static bool arm64_may_use_b(const void *addr)
 {
 	if (addr >= dasm_buf && addr < dasm_end) {
 		return (((char*)dasm_end - (char*)dasm_buf) < B_IMM26);

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