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:
54cb985
)
Whoops, missed a couple more C-style casts.
author
Reid Spencer
<rspencer@reidspencer.com>
Wed, 21 Jun 2006 22:19:00 +0000
(22:19 +0000)
committer
Reid Spencer
<rspencer@reidspencer.com>
Wed, 21 Jun 2006 22:19:00 +0000
(22:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28905
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/MathExtras.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/MathExtras.h
b/include/llvm/Support/MathExtras.h
index 7cc5333562d266359c182deacc49f756846e7a7d..72065ba3d88aa0d3450aac5703eebf7c7dda127e 100644
(file)
--- a/
include/llvm/Support/MathExtras.h
+++ b/
include/llvm/Support/MathExtras.h
@@
-25,12
+25,12
@@
namespace llvm {
// Hi_32 - This function returns the high 32 bits of a 64 bit value.
inline unsigned Hi_32(uint64_t Value) {
- return
(unsigned)
(Value >> 32);
+ return
static_cast<unsigned>
(Value >> 32);
}
// Lo_32 - This function returns the low 32 bits of a 64 bit value.
inline unsigned Lo_32(uint64_t Value) {
- return
(unsigned)Value
;
+ return
static_cast<unsigned>(Value)
;
}
// is?Type - these functions produce optimal testing for integer data types.