[llvm] 417b116 - [JITLink] Minor fix to avoid Windows compiler warning for static-cast
David Stuttard via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 30 03:08:36 PDT 2021
Author: David Stuttard
Date: 2021-04-30T11:08:05+01:00
New Revision: 417b1164c28ef526cfe3ccab70d22598b7c63624
URL: https://github.com/llvm/llvm-project/commit/417b1164c28ef526cfe3ccab70d22598b7c63624
DIFF: https://github.com/llvm/llvm-project/commit/417b1164c28ef526cfe3ccab70d22598b7c63624.diff
LOG: [JITLink] Minor fix to avoid Windows compiler warning for static-cast
Change-Id: Id0c1d5535b53e2aebe314151c0efa585e763f3f6
Differential Revision: https://reviews.llvm.org/D100093
Added:
Modified:
llvm/lib/ExecutionEngine/JITLink/x86_64.cpp
Removed:
################################################################################
diff --git a/llvm/lib/ExecutionEngine/JITLink/x86_64.cpp b/llvm/lib/ExecutionEngine/JITLink/x86_64.cpp
index c26ec3f6ed263..50a57b2b3f203 100644
--- a/llvm/lib/ExecutionEngine/JITLink/x86_64.cpp
+++ b/llvm/lib/ExecutionEngine/JITLink/x86_64.cpp
@@ -57,7 +57,7 @@ const char NullPointerContent[8] = {0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00};
const char PointerJumpStubContent[6] = {
- static_cast<char>(0xFF), 0x25, 0x00, 0x00, 0x00, 0x00};
+ static_cast<char>(0xFFu), 0x25, 0x00, 0x00, 0x00, 0x00};
} // end namespace x86_64
} // end namespace jitlink
More information about the llvm-commits
mailing list