From 333642fcff9901a8f20c02457756ca9715641139 Mon Sep 17 00:00:00 2001 From: oharboe Date: Fri, 19 Jun 2009 08:18:36 +0000 Subject: fix jtag_add_callback() args. The first argument is nothing special, it's just another generic argument. git-svn-id: svn://svn.berlios.de/openocd/trunk@2290 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/target/arm720t.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/target/arm720t.c') diff --git a/src/target/arm720t.c b/src/target/arm720t.c index 72a20dfc..f160c9d5 100644 --- a/src/target/arm720t.c +++ b/src/target/arm720t.c @@ -120,7 +120,7 @@ int arm720t_scan_cp15(target_t *target, uint32_t out, uint32_t *in, int instruct { fields[1].in_value = (uint8_t *)in; jtag_add_dr_scan(2, fields, jtag_get_end_state()); - jtag_add_callback(arm7flip32, (uint8_t *)in); + jtag_add_callback(arm7flip32, (jtag_callback_data_t)in); } else { jtag_add_dr_scan(2, fields, jtag_get_end_state()); -- cgit v1.2.3