summaryrefslogtreecommitdiffstats
path: root/lld/include/lld/ReaderWriter/PECOFFLinkingContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'lld/include/lld/ReaderWriter/PECOFFLinkingContext.h')
-rw-r--r--lld/include/lld/ReaderWriter/PECOFFLinkingContext.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lld/include/lld/ReaderWriter/PECOFFLinkingContext.h b/lld/include/lld/ReaderWriter/PECOFFLinkingContext.h
index fdc8c10c9a6..8aebdd23ca0 100644
--- a/lld/include/lld/ReaderWriter/PECOFFLinkingContext.h
+++ b/lld/include/lld/ReaderWriter/PECOFFLinkingContext.h
@@ -250,10 +250,10 @@ protected:
virtual std::unique_ptr<File> createUndefinedSymbolFile() const;
private:
- enum {
+ enum : uint64_t {
invalidBaseAddress = UINT64_MAX,
- pe32DefaultBaseAddress = 0x400000UL,
- pe32PlusDefaultBaseAddress = 0x140000000UL
+ pe32DefaultBaseAddress = 0x400000U,
+ pe32PlusDefaultBaseAddress = 0x140000000U
};
// The start address for the program. The default value for the executable is
OpenPOWER on IntegriCloud