[cfe-commits] r96595 - /cfe/trunk/lib/CodeGen/CGVtable.cpp
Anders Carlsson
andersca at mac.com
Thu Feb 18 10:20:49 PST 2010
Author: andersca
Date: Thu Feb 18 12:20:49 2010
New Revision: 96595
URL: http://llvm.org/viewvc/llvm-project?rev=96595&view=rev
Log:
Attempt to fix the 32-bit test failures.
Modified:
cfe/trunk/lib/CodeGen/CGVtable.cpp
Modified: cfe/trunk/lib/CodeGen/CGVtable.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGVtable.cpp?rev=96595&r1=96594&r2=96595&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGVtable.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGVtable.cpp Thu Feb 18 12:20:49 2010
@@ -1118,7 +1118,7 @@
// 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 *
More information about the cfe-commits
mailing list