[llvm-commits] CVS: llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sat Jan 8 12:13:57 PST 2005
Changes in directory llvm/lib/ExecutionEngine/Interpreter:
ExternalFunctions.cpp updated: 1.80 -> 1.81
---
Log message:
Silence warnings
---
Diffs of the changes: (+2 -2)
Index: llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
diff -u llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp:1.80 llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp:1.81
--- llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp:1.80 Mon Nov 29 08:11:29 2004
+++ llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp Sat Jan 8 14:13:44 2005
@@ -505,10 +505,10 @@
static size_t GV_to_size_t (GenericValue GV) {
size_t count;
if (sizeof (size_t) == sizeof (uint64_t)) {
- count = GV.ULongVal;
+ count = (size_t)GV.ULongVal;
} else {
assert (sizeof (size_t) == sizeof (unsigned int));
- count = GV.UIntVal;
+ count = (size_t)GV.UIntVal;
}
return count;
}
More information about the llvm-commits
mailing list