projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
813c815
)
Silence warnings
author
Chris Lattner
<sabre@nondot.org>
Sat, 8 Jan 2005 20:13:44 +0000
(20:13 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 8 Jan 2005 20:13:44 +0000
(20:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19392
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
patch
|
blob
|
history
diff --git
a/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
b/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
index 91975547e5f0cba5b94302eaf2f6f2018d30970b..8b282a03f00f60052c2c7816a77c2f1183e115d8 100644
(file)
--- a/
lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
+++ b/
lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
@@
-505,10
+505,10
@@
static GenericValue size_t_to_GV (size_t n) {
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;
}