hello everyboby,

I was working in the wireless zigbee programming for the end device using the sample application as my guide. While doing so, i found that the OSAL_App.c in the application sub folder in the project has the following error.

Error[Pe144]: a value of type "void (*)(uint16)" cannot be used to initialize an entity of type "unsigned short (*)(unsigned char, unsigned short)"

Now, i couldnt solve this error.....

the osal events are to be carried out first, but due to this error the report and reading of the values is not been done.

i did the programming the based on the sample application, when i run the program there is no error. 

then what is the source for this error...

the following is the code i programmed for the OSAL_Enddevice.c

......

// The order in this table must be identical to the task initialization calls below in osalInitTask.
const pTaskEventHandlerFn tasksArr[ ] = {
Hal_ProcessEvent,                                          // HAL should be a higher priority than any ZNP task.
zapEvt,                                                            // ZAP APP should be the highest priority ZNP task.
zb_HandleOsalEvent
};

.....

the code in the main end device .c for the zb_handle events

voidzb_HandleOsalEvents(uint16 events)

...... 

Program for the events to be carried for the command in and report the values 

......

}