From: Matt Beaumont-Gay Date: Thu, 31 Mar 2011 01:56:27 +0000 (+0000) Subject: Oops, prefer C-style cast here X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8c079ac8f8b36804b5586985449956e0481e2e02;p=clang Oops, prefer C-style cast here git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128607 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGBuiltin.cpp b/lib/CodeGen/CGBuiltin.cpp index 040a117040..35507b9921 100644 --- a/lib/CodeGen/CGBuiltin.cpp +++ b/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: {