aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--memplugin_qnx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/memplugin_qnx.c b/memplugin_qnx.c
index 610a4f9..b6e8af2 100644
--- a/memplugin_qnx.c
+++ b/memplugin_qnx.c
@@ -121,10 +121,10 @@ void memplugin_free(void *ptr, mem_type memory_type)
121EXIT:; 121EXIT:;
122} 122}
123 123
124void *memplugin_share(void *ptr, mem_type memory_type) 124inline int memplugin_share(void *ptr)
125{ 125{
126 /* No Userspace Virtual pointers to DMA BUF Handles conversion required*/ 126 /* No Userspace Virtual pointers to DMA BUF Handles conversion required*/
127 /* Do nothing */ 127 /* Do nothing */
128 return (ptr); 128 return ((int)ptr);
129} 129}
130 130