mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-11 02:16:50 +00:00
MSVC2012 does not choose to use uint64_t as underlying type without this.
MSVC2012 seems to choose int as the underlying type for an enum even if one of its member is unsigned long long. llvm-svn: 200519
This commit is contained in:
parent
14876abb3d
commit
d0d01c66ba
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user