Changes in directory llvm/include/llvm/Support:
MathExtras.h updated: 1.31 -> 1.32 --- Log message: Whoops, missed a couple more C-style casts. --- Diffs of the changes: (+2 -2) MathExtras.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/include/llvm/Support/MathExtras.h diff -u llvm/include/llvm/Support/MathExtras.h:1.31 llvm/include/llvm/Support/MathExtras.h:1.32 --- llvm/include/llvm/Support/MathExtras.h:1.31 Wed Jun 21 16:54:54 2006 +++ llvm/include/llvm/Support/MathExtras.h Wed Jun 21 17:19:00 2006 @@ -25,12 +25,12 @@ // 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. _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits