The "in" argument should be changed to type jtag_callback_data_t.
It is entirely up to the caller what this points to and what it is used for. So change from: extern void jtag_add_callback4(jtag_callback_t f, uint8_t *in, jtag_callback_data_t data1, jtag_callback_data_t data2, jtag_callback_data_t data3); To: extern void jtag_add_callback4(jtag_callback_t f, jtag_callback_data_t data0, jtag_callback_data_t data1, jtag_callback_data_t data2, jtag_callback_data_t data3); I spotted this in the embedded host. This will also resolve a few warnings in embedded hosts where jtag_add_callback4 is just a macro that invokes the callback directly. -- Øyvind Harboe Embedded software and hardware consulting services http://consulting.zylin.com _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development