diff options
author | Anders Carlsson <andersca@mac.com> | 2010-02-18 18:20:49 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2010-02-18 18:20:49 +0000 |
commit | 71b202e1d1a92aee9e71b126d653652e2114df25 (patch) | |
tree | 9485f4f9947e0c2675b0e3212c621872a5c4bc76 /lib/CodeGen/CGVtable.cpp | |
parent | 66430964e6fd0c9b497539d72cc1102aaf4e84e3 (diff) |
Attempt to fix the 32-bit test failures.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96595 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGVtable.cpp')
-rw-r--r-- | lib/CodeGen/CGVtable.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGVtable.cpp b/lib/CodeGen/CGVtable.cpp index 6ab6a60a92..15cfc68b0b 100644 --- a/lib/CodeGen/CGVtable.cpp +++ b/lib/CodeGen/CGVtable.cpp @@ -1118,7 +1118,7 @@ void VtableBuilder::AddVCallOffsets(BaseSubobject Base) { // address point. (We subtract 3 to account for the information just // above the address point, the RTTI info, the offset to top, and the // vcall offset itself). - int64_t OffsetIndex = -(3 + VCallAndVBaseOffsets.size()); + int64_t OffsetIndex = -(int64_t)(3 + VCallAndVBaseOffsets.size()); // FIXME: We shouldn't use / 8 here. int64_t OffsetOffset = OffsetIndex * |