fixed build warning
[keystone-rtos/edma3_lld.git] / packages / ti / sdo / edma3 / rm / sample / src / platforms / sample_am335x_arm_int_reg.c
old mode 100644 (file)
new mode 100755 (executable)
index a65c0b6..cab976c
@@ -109,9 +109,9 @@ void registerEdma3Interrupts (uint32_t edma3Id)
        //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));
@@ -128,7 +128,7 @@ void registerEdma3Interrupts (uint32_t edma3Id)
        //hwiParams.enableInt = TRUE;
        
        hwiCCErrInt = Hwi_create( ccErrorInt[edma3Id],
-                (&lisrEdma3CCErrHandler0),
+                ((Hwi_FuncPtr)&lisrEdma3CCErrHandler0),
                 (const Hwi_Params *) (&hwiParams),
                 &eb);
 
@@ -148,7 +148,7 @@ void registerEdma3Interrupts (uint32_t edma3Id)
                //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))