aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2015-02-26 21:10:01 +0000
committerReid Kleckner <reid@kleckner.net>2015-02-26 21:10:01 +0000
commit48e04e492fed75de9741d36c655cfef89b273be7 (patch)
tree9ebb8cb6427335bb00c7d180f6a39bbf9d8e3e6f
parent94ce865c81a5be8fc518dfdf135f280fbdf9313e (diff)
downloadllvm-48e04e492fed75de9741d36c655cfef89b273be7.zip
llvm-48e04e492fed75de9741d36c655cfef89b273be7.tar.gz
llvm-48e04e492fed75de9741d36c655cfef89b273be7.tar.bz2
Give enum an unsigned type to silence -Wmicrosoft clang-cl warning
llvm-svn: 230687
-rw-r--r--lld/lib/ReaderWriter/Native/NativeFileFormat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/lib/ReaderWriter/Native/NativeFileFormat.h b/lld/lib/ReaderWriter/Native/NativeFileFormat.h
index 5dfb87f..889fd45 100644
--- a/lld/lib/ReaderWriter/Native/NativeFileFormat.h
+++ b/lld/lib/ReaderWriter/Native/NativeFileFormat.h
@@ -215,7 +215,7 @@ struct NativeReferenceIvarsV1 {
// The NCS_ReferencesArrayV2 chunk contains an array of these structs
//
struct NativeReferenceIvarsV2 {
- enum {
+ enum : unsigned {
noTarget = UINT32_MAX
};
uint64_t offsetInAtom;