From: Xiang, Haihao Date: Fri, 21 Jun 2013 04:21:58 +0000 (+0800) Subject: Silence the warning X-Git-Tag: android-x86-7.1-r1~1143 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=e2b6e0f9f28bf194ef0f06f7aa7e486d14ea86ab;p=android-x86%2Fhardware-intel-common-vaapi.git Silence the warning CC i965_drv_video_la-gen75_vpp_vebox.lo gen75_vpp_vebox.c: In function ‘hsw_veb_dndi_iecp_command’: gen75_vpp_vebox.c:697:5: warning: suggest parentheses around arithmetic in operand of ‘|’ Signed-off-by: Xiang, Haihao --- diff --git a/src/gen75_vpp_vebox.c b/src/gen75_vpp_vebox.c index b56ffeb..50df627 100644 --- a/src/gen75_vpp_vebox.c +++ b/src/gen75_vpp_vebox.c @@ -696,7 +696,7 @@ void hsw_veb_dndi_iecp_command(VADriverContextP ctx, struct intel_vebox_context OUT_VEB_BATCH(batch, VEB_DNDI_IECP_STATE | (10 - 2)); OUT_VEB_BATCH(batch, startingX << 16 | - endingX-1); + (endingX-1)); OUT_RELOC(batch, proc_ctx->frame_store[FRAME_IN_CURRENT].obj_surface->bo, I915_GEM_DOMAIN_RENDER, 0, frame_ctrl_bits);