mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 22:24:07 +00:00
Fix build breakage on 64-bit systems.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36193 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -318,11 +318,11 @@ public:
|
||||
|
||||
static unsigned getFunctionListOffset() {
|
||||
Module *Obj = 0;
|
||||
return reinterpret_cast<unsigned>(&Obj->FunctionList);
|
||||
return unsigned(reinterpret_cast<uintptr_t>(&Obj->FunctionList));
|
||||
}
|
||||
static unsigned getGlobalVariableListOffset() {
|
||||
Module *Obj = 0;
|
||||
return reinterpret_cast<unsigned>(&Obj->GlobalList);
|
||||
return unsigned(reinterpret_cast<uintptr_t>(&Obj->GlobalList));
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user