From 417b1164c28ef526cfe3ccab70d22598b7c63624 Mon Sep 17 00:00:00 2001 From: David Stuttard Date: Wed, 7 Apr 2021 14:19:21 +0100 Subject: [PATCH] [JITLink] Minor fix to avoid Windows compiler warning for static-cast Change-Id: Id0c1d5535b53e2aebe314151c0efa585e763f3f6 Differential Revision: https://reviews.llvm.org/D100093 --- llvm/lib/ExecutionEngine/JITLink/x86_64.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/ExecutionEngine/JITLink/x86_64.cpp b/llvm/lib/ExecutionEngine/JITLink/x86_64.cpp index c26ec3f..50a57b2 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(0xFF), 0x25, 0x00, 0x00, 0x00, 0x00}; + static_cast(0xFFu), 0x25, 0x00, 0x00, 0x00, 0x00}; } // end namespace x86_64 } // end namespace jitlink -- 2.7.4