[PATCH] D100093: [JITLink] Minor fix to avoid Windows compiler warning for static-cast

David Stuttard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 30 03:08:41 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG417b1164c28e: [JITLink] Minor fix to avoid Windows compiler warning for static-cast (authored by dstuttard).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100093/new/

https://reviews.llvm.org/D100093

Files:
  llvm/lib/ExecutionEngine/JITLink/x86_64.cpp


Index: llvm/lib/ExecutionEngine/JITLink/x86_64.cpp
===================================================================
--- llvm/lib/ExecutionEngine/JITLink/x86_64.cpp
+++ llvm/lib/ExecutionEngine/JITLink/x86_64.cpp
@@ -57,7 +57,7 @@
                                     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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100093.341825.patch
Type: text/x-patch
Size: 519 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210430/fd6e7699/attachment-0001.bin>


More information about the llvm-commits mailing list