PDK-2666: c++ build fix
authorPrasad Konnur <prasadkonnur@ti.com>
Tue, 24 Sep 2019 08:50:59 +0000 (14:20 +0530)
committerPrasad Konnur <prasadkonnur@ti.com>
Tue, 24 Sep 2019 08:50:59 +0000 (14:20 +0530)
Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
src/fvid2_drvMgr.c

index 2238f93cdc651148bbe1ec40156cc849e5cc596a..c149082658cb1cb15db04d408b282a9057bf4db3 100755 (executable)
@@ -1318,7 +1318,7 @@ static int32_t fdmDriverCbFxn(void *fdmData)
     OSAL_Assert(NULL_PTR == fdmData);
 
     channel = (Fdm_Channel *) fdmData;
-    OSAL_Assert(NULL_PTR == channel->cbParams.cbFxn);
+    OSAL_Assert((Fvid2_CbFxn) NULL_PTR == channel->cbParams.cbFxn);
     retVal = channel->cbParams.cbFxn(channel, channel->cbParams.appData);
 
     return (retVal);
@@ -1341,7 +1341,7 @@ static int32_t fdmDriverErrCbFxn(void *fdmData, void *errList)
     OSAL_Assert(NULL_PTR == fdmData);
 
     channel = (Fdm_Channel *) fdmData;
-    OSAL_Assert(NULL_PTR == channel->cbParams.errCbFxn);
+    OSAL_Assert((Fvid2_ErrCbFxn) NULL_PTR == channel->cbParams.errCbFxn);
     retVal =
         channel->cbParams.errCbFxn(channel, channel->cbParams.appData, errList);