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 | f8b53536ed46ac6a4dfbac954753bbedc2e38ed6 (patch) | |
tree | efc83fb20e18808f0f35fc797160a07870871eb4 /clang/lib/CodeGen | |
parent | d879ce0715d535ee8ba1d4e04f28033a72216017 (diff) | |
download | bcm5719-llvm-f8b53536ed46ac6a4dfbac954753bbedc2e38ed6.tar.gz bcm5719-llvm-f8b53536ed46ac6a4dfbac954753bbedc2e38ed6.zip |
Attempt to fix the 32-bit test failures.
llvm-svn: 96595
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r-- | clang/lib/CodeGen/CGVtable.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGVtable.cpp b/clang/lib/CodeGen/CGVtable.cpp index 6ab6a60a92b..15cfc68b0b9 100644 --- a/clang/lib/CodeGen/CGVtable.cpp +++ b/clang/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 * |