Commit 2e7eb2f1 authored by Richard Townsend's avatar Richard Townsend Committed by Commit Bot

build: fix an unsigned shift error

Bug: v8:10012
Change-Id: Id94276d8ab10835758b9c63029ac3c35d35e903b
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1962853Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
Commit-Queue: Richard Townsend <richard.townsend@arm.com>
Cr-Commit-Position: refs/heads/master@{#65528}
parent 36b66498
......@@ -226,7 +226,7 @@ uint64_t Simulator::AuthPAC(uint64_t ptr, uint64_t context, PACKey key,
uint64_t pac = ComputePAC(original_ptr, context, key);
uint64_t error_code = 1 << key.number;
uint64_t error_code = UINT64_C(1) << key.number;
if ((pac & pac_mask) == (ptr & pac_mask)) {
return original_ptr;
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment