[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp
Jeff Cohen
jeffc at jolt-lang.org
Sun Mar 4 16:02:06 PST 2007
Changes in directory llvm/lib/Target:
TargetData.cpp updated: 1.104 -> 1.105
---
Log message:
Unbreak VC++ build.
---
Diffs of the changes: (+1 -1)
TargetData.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/TargetData.cpp
diff -u llvm/lib/Target/TargetData.cpp:1.104 llvm/lib/Target/TargetData.cpp:1.105
--- llvm/lib/Target/TargetData.cpp:1.104 Thu Mar 1 13:48:16 2007
+++ llvm/lib/Target/TargetData.cpp Sun Mar 4 18:00:42 2007
@@ -400,7 +400,7 @@
unsigned char Alignment;
Size = getTypeSize(ATy->getElementType());
Alignment = getABITypeAlignment(ATy->getElementType());
- unsigned AlignedSize = (Size + Alignment - 1)/Alignment*Alignment;
+ uint64_t AlignedSize = (Size + Alignment - 1)/Alignment*Alignment;
return AlignedSize*ATy->getNumElements();
}
case Type::StructTyID: {
More information about the llvm-commits
mailing list