]> granicus.if.org Git - clang/commitdiff
Oops, prefer C-style cast here
authorMatt Beaumont-Gay <matthewbg@google.com>
Thu, 31 Mar 2011 01:56:27 +0000 (01:56 +0000)
committerMatt Beaumont-Gay <matthewbg@google.com>
Thu, 31 Mar 2011 01:56:27 +0000 (01:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128607 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGBuiltin.cpp

index 040a11704030396f7dd1905529371b9657bdd9a3..35507b99215a689da9d948ba0ec39f4360f83119 100644 (file)
@@ -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: {