[php-src] jit-arm64: Fixed compilation warning

From: Date: Tue, 27 Apr 2021 08:31:15 +0000
Subject: [php-src] jit-arm64: Fixed compilation warning
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-115863@lists.php.net to get a copy of this message
Author: Dmitry Stogov (dstogov) Date: 2021-04-27T11:30:09+03:00 Commit: https://github.com/php/php-src/commit/aa31f79a65f7eee324bb8e7119de626ea623d588 Raw diff: https://github.com/php/php-src/commit/aa31f79a65f7eee324bb8e7119de626ea623d588.diff Fixed compilation warning Changed paths: M ext/opcache/jit/dynasm/dasm_arm64.lua Diff: diff --git a/ext/opcache/jit/dynasm/dasm_arm64.lua b/ext/opcache/jit/dynasm/dasm_arm64.lua index 76a47a0e9486..932edb5e4239 100644 --- a/ext/opcache/jit/dynasm/dasm_arm64.lua +++ b/ext/opcache/jit/dynasm/dasm_arm64.lua @@ -1077,7 +1077,7 @@ map_op[".addr_1"] = function(params) wputw(0) wputw(0) local imm = match(params[1], "^&(.*)$") - waction("IMM_PC", 0, format("(unsigned int)(%s)", imm)) + waction("IMM_PC", 0, format("(unsigned int)(unsigned long long)(%s)", imm)) actargs[#actargs+1] = format("(unsigned int)((unsigned long long)(%s)>>32)", imm) else local mode, n, s = parse_label(params[1], false)

« previous php.cvs (#115863) next »