diff options
author | Vishal Mahaveer <vishalm@ti.com> | 2016-08-26 14:21:07 -0400 |
---|---|---|
committer | Vishal Mahaveer <vishalm@ti.com> | 2017-08-22 11:50:41 -0500 |
commit | 9acc8b349505300028c5871581be995cff947574 (patch) | |
tree | 41e15f172a299c0f42a3b5261dd7ae34704d68ee | |
parent | a4de3a3d0208870b0ef77fb4258a6003e734da3e (diff) | |
download | dra7xx-9acc8b349505300028c5871581be995cff947574.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 868a2da..64744ad 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 @@ -230,7 +230,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: |