diff options
author | Vishal Mahaveer <vishalm@ti.com> | 2016-08-26 14:21:07 -0400 |
---|---|---|
committer | Vishal Mahaveer <vishalm@ti.com> | 2016-09-06 18:19:59 -0500 |
commit | 5cb81d28135147d870b9817b5f443381f50a29f4 (patch) | |
tree | 8cb7c2be756c64a92b660f249d276f74bce25245 | |
parent | a706e55444d7a82454e9c8c127e751340f9e7559 (diff) | |
download | dra7xx-5cb81d28135147d870b9817b5f443381f50a29f4.tar.gz |
OMX: fix compilation issue with latest toolchain
Fix below compiler error generated with latest toolchain
omx/base/omx_base_dio_plugin/src/omx_base_dio_non_tunnel.c:232:29:
error: incompatible integer to pointer conversion assigning to 'OMX_PTR'
(aka 'void *') from 'OMX_U32' (aka 'unsigned int') [-Werror,-Wint-conversion]
pPort->nCachedBufferCnt = pPort->sPortDef.nBufferCountActual;
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Change-Id: I1f029fb9b8d29f906dfe9ce83e503ae66550778b
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
-rw-r--r-- | omx/base/omx_base_dio_plugin/src/omx_base_dio_non_tunnel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/omx/base/omx_base_dio_plugin/src/omx_base_dio_non_tunnel.c b/omx/base/omx_base_dio_plugin/src/omx_base_dio_non_tunnel.c index 6f55fe1..e2e9729 100644 --- a/omx/base/omx_base_dio_plugin/src/omx_base_dio_non_tunnel.c +++ b/omx/base/omx_base_dio_plugin/src/omx_base_dio_non_tunnel.c @@ -229,7 +229,7 @@ static OMX_ERRORTYPE OMX_DIO_NonTunnel_Open (OMX_HANDLETYPE handle, pPort->sPortDef.nBufferCountActual), sizeof(OMX_BUFFERHEADERTYPE *), 1); OMX_CHECK(OSAL_ErrNone == tStatus, OMX_ErrorInsufficientResources); - pPort->nCachedBufferCnt = pPort->sPortDef.nBufferCountActual; + pPort->nCachedBufferCnt = (void *)pPort->sPortDef.nBufferCountActual; EXIT: |