fixed build warning
[keystone-rtos/edma3_lld.git] / packages / ti / sdo / edma3 / drv / sample / src / platforms / sample_ti816x_arm_int_reg.c
index 2679965ec6cc993ce24dd02fe33eca386102a038..ae2e54e90f80d7f5fdf077a1839ebcb4d48dcf70 100755 (executable)
@@ -50,7 +50,7 @@
   * (Not all TC error ISRs need to be registered, register only for the
   * available Transfer Controllers).
   */
   * (Not all TC error ISRs need to be registered, register only for the
   * available Transfer Controllers).
   */
-void (*ptrEdma3TcIsrHandler[EDMA3_MAX_TC])(unsigned int arg) =
+void (*ptrEdma3TcIsrHandler[EDMA3_MAX_TC])(uint32_t arg) =
                                                 {
                                                 &lisrEdma3TC0ErrHandler0,
                                                 &lisrEdma3TC1ErrHandler0,
                                                 {
                                                 &lisrEdma3TC0ErrHandler0,
                                                 &lisrEdma3TC1ErrHandler0,
@@ -109,9 +109,9 @@ void registerEdma3Interrupts (unsigned int edma3Id)
        //hwiParams.enableInt = TRUE;
     
     hwiCCXferCompInt = Hwi_create( ccXferCompInt[edma3Id][dsp_num],
        //hwiParams.enableInt = TRUE;
     
     hwiCCXferCompInt = Hwi_create( ccXferCompInt[edma3Id][dsp_num],
-                                       (&lisrEdma3ComplHandler0),
-                                       (const Hwi_Params *) (&hwiParams),
-                                       &eb);
+                            ((Hwi_FuncPtr)&lisrEdma3ComplHandler0),
+                            (const Hwi_Params *) (&hwiParams),
+                            &eb);
     if (TRUE == Error_check(&eb))
     {
         System_printf("HWI Create Failed\n",Error_getCode(&eb));
     if (TRUE == Error_check(&eb))
     {
         System_printf("HWI Create Failed\n",Error_getCode(&eb));
@@ -128,7 +128,7 @@ void registerEdma3Interrupts (unsigned int edma3Id)
        //hwiParams.enableInt = TRUE;
        
        hwiCCErrInt = Hwi_create( ccErrorInt[edma3Id],
        //hwiParams.enableInt = TRUE;
        
        hwiCCErrInt = Hwi_create( ccErrorInt[edma3Id],
-                (&lisrEdma3CCErrHandler0),
+                ((Hwi_FuncPtr)&lisrEdma3CCErrHandler0),
                 (const Hwi_Params *) (&hwiParams),
                 &eb);
 
                 (const Hwi_Params *) (&hwiParams),
                 &eb);
 
@@ -148,7 +148,7 @@ void registerEdma3Interrupts (unsigned int edma3Id)
                //hwiParams.enableInt = TRUE;
         
         hwiTCErrInt[numTc] = Hwi_create( tcErrorInt[edma3Id][numTc],
                //hwiParams.enableInt = TRUE;
         
         hwiTCErrInt[numTc] = Hwi_create( tcErrorInt[edma3Id][numTc],
-                    (ptrEdma3TcIsrHandler[numTc]),
+                    ((Hwi_FuncPtr)ptrEdma3TcIsrHandler[numTc]),
                     (const Hwi_Params *) (&hwiParams),
                     &eb);
         if (TRUE == Error_check(&eb))
                     (const Hwi_Params *) (&hwiParams),
                     &eb);
         if (TRUE == Error_check(&eb))