summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngela Stegmaier <angelabaker@ti.com>2017-05-22 16:04:30 -0500
committerAngela Stegmaier <angelabaker@ti.com>2017-05-23 15:40:15 -0500
commitab4a9901183c057504424a5b4691d26ac029f24b (patch)
tree4f4dade410250c3f94fc51c5a5ad29b7a7d77fd5
parent9fe74361064a4d45be5d31f06c8f7e57254d1a57 (diff)
downloadipc-ab4a9901183c057504424a5b4691d26ac029f24b.tar.gz
QNX: Mx: Fix Compilation Warnings
This patch fixes compilation warnings introduced with newer QNX version build. Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
-rw-r--r--packages/ti/ipc/tests/Mx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/ti/ipc/tests/Mx.c b/packages/ti/ipc/tests/Mx.c
index 6f3e713..79be1e9 100644
--- a/packages/ti/ipc/tests/Mx.c
+++ b/packages/ti/ipc/tests/Mx.c
@@ -209,7 +209,7 @@ int32_t Mx_compute_Linux(Mx_Compute *compute, int fd, int fdIn, int fdOut)
fxnCtx->params[0].param.ptr.size = sizeof(Mx_Compute);
fxnCtx->params[0].param.ptr.addr = (size_t)compute;
#if defined(IPC_BUILDOS_QNX)
- fxnCtx->params[0].param.ptr.handle = NULL;
+ fxnCtx->params[0].param.ptr.handle = 0;
#else
fxnCtx->params[0].param.ptr.handle = fd;
#endif
@@ -221,7 +221,7 @@ int32_t Mx_compute_Linux(Mx_Compute *compute, int fd, int fdIn, int fdOut)
fxnCtx->xltAry[0].offset = MmRpc_OFFSET(compute, &compute->inBuf);
fxnCtx->xltAry[0].base = (size_t)compute->inBuf;
#if defined(IPC_BUILDOS_QNX)
- fxnCtx->xltAry[0].handle = NULL;
+ fxnCtx->xltAry[0].handle = 0;
#else
fxnCtx->xltAry[0].handle = fdIn;
#endif
@@ -230,7 +230,7 @@ int32_t Mx_compute_Linux(Mx_Compute *compute, int fd, int fdIn, int fdOut)
fxnCtx->xltAry[1].offset = MmRpc_OFFSET(compute, &compute->outBuf);
fxnCtx->xltAry[1].base = (size_t)compute->outBuf;
#if defined(IPC_BUILDOS_QNX)
- fxnCtx->xltAry[1].handle = NULL;
+ fxnCtx->xltAry[1].handle = 0;
#else
fxnCtx->xltAry[1].handle = fdOut;
#endif