summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGBuiltin.cpp
diff options
context:
space:
mode:
authorMatt Beaumont-Gay <matthewbg@google.com>2011-03-31 01:56:27 +0000
committerMatt Beaumont-Gay <matthewbg@google.com>2011-03-31 01:56:27 +0000
commit873c6dd875f6de0fc1eda4c6f360ea1b1ca8daa2 (patch)
treef46d5d5e117ee5c43a1121149200fdf21a2723d6 /clang/lib/CodeGen/CGBuiltin.cpp
parent4ed4e93b187f5be809333970fff8e4ee3d4ed63e (diff)
downloadbcm5719-llvm-873c6dd875f6de0fc1eda4c6f360ea1b1ca8daa2.tar.gz
bcm5719-llvm-873c6dd875f6de0fc1eda4c6f360ea1b1ca8daa2.zip
Oops, prefer C-style cast here
llvm-svn: 128607
Diffstat (limited to 'clang/lib/CodeGen/CGBuiltin.cpp')
-rw-r--r--clang/lib/CodeGen/CGBuiltin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGBuiltin.cpp b/clang/lib/CodeGen/CGBuiltin.cpp
index 040a1170403..35507b99215 100644
--- a/clang/lib/CodeGen/CGBuiltin.cpp
+++ b/clang/lib/CodeGen/CGBuiltin.cpp
@@ -1465,7 +1465,7 @@ Value *CodeGenFunction::EmitARMBuiltinExpr(unsigned BuiltinID,
Ops, "vmul");
case ARM::BI__builtin_neon_vmull_v:
Int = usgn ? Intrinsic::arm_neon_vmullu : Intrinsic::arm_neon_vmulls;
- Int = poly ? unsigned(Intrinsic::arm_neon_vmullp) : Int;
+ Int = poly ? (unsigned)Intrinsic::arm_neon_vmullp : Int;
return EmitNeonCall(CGM.getIntrinsic(Int, &Ty, 1), Ops, "vmull");
case ARM::BI__builtin_neon_vpadal_v:
case ARM::BI__builtin_neon_vpadalq_v: {
OpenPOWER on IntegriCloud