OSDN Git Service

[media] mtk-vcodec: fix compiler warning
authorHans Verkuil <hans.verkuil@cisco.com>
Sat, 9 Jul 2016 07:32:58 +0000 (04:32 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sat, 9 Jul 2016 10:47:29 +0000 (07:47 -0300)
commit65ad26cdfdf119be3e382ec9d05916cfc7c6be61
treeb4faf337ef26ee51abac6efd0df7f1547daf67c2
parentf7cf0362f6ad13e1235a731456641178a4280c90
[media] mtk-vcodec: fix compiler warning

mtk-vcodec/venc_vpu_if.c:40:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  struct venc_vpu_inst *vpu = (struct venc_vpu_inst *)msg->venc_inst;
                              ^

Note: venc_inst is u64.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/mtk-vcodec/venc_vpu_if.c