[llvm-commits] CVS: llvm/lib/Bytecode/Reader/Reader.cpp
Jeff Cohen
jeffc at jolt-lang.org
Wed Jan 25 09:19:02 PST 2006
Changes in directory llvm/lib/Bytecode/Reader:
Reader.cpp updated: 1.185 -> 1.186
---
Log message:
Make it even more portable.
---
Diffs of the changes: (+1 -1)
Reader.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Bytecode/Reader/Reader.cpp
diff -u llvm/lib/Bytecode/Reader/Reader.cpp:1.185 llvm/lib/Bytecode/Reader/Reader.cpp:1.186
--- llvm/lib/Bytecode/Reader/Reader.cpp:1.185 Tue Jan 24 20:40:10 2006
+++ llvm/lib/Bytecode/Reader/Reader.cpp Wed Jan 25 11:18:50 2006
@@ -79,7 +79,7 @@
inline void BytecodeReader::align32() {
if (hasAlignment) {
BufPtr Save = At;
- At = (const unsigned char *)((size_t)(At+3) & (~3UL));
+ At = (const unsigned char *)((intptr_t)(At+3) & (~3UL));
if (At > Save)
if (Handler) Handler->handleAlignment(At - Save);
if (At > BlockEnd)
More information about the llvm-commits
mailing list