summaryrefslogtreecommitdiff
path: root/src/target/arm_adi_v5.c
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-19 08:18:36 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-19 08:18:36 +0000
commit333642fcff9901a8f20c02457756ca9715641139 (patch)
tree6b2b4d22eaaec6104316093471c9ad40c53787cd /src/target/arm_adi_v5.c
parenta1c14646cbfde337441bb76f09a333c8c40127eb (diff)
downloadopenocd+libswd-333642fcff9901a8f20c02457756ca9715641139.tar.gz
openocd+libswd-333642fcff9901a8f20c02457756ca9715641139.tar.bz2
openocd+libswd-333642fcff9901a8f20c02457756ca9715641139.tar.xz
openocd+libswd-333642fcff9901a8f20c02457756ca9715641139.zip
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
Diffstat (limited to 'src/target/arm_adi_v5.c')
-rw-r--r--src/target/arm_adi_v5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/arm_adi_v5.c b/src/target/arm_adi_v5.c
index 7d6ae81d..9ac66699 100644
--- a/src/target/arm_adi_v5.c
+++ b/src/target/arm_adi_v5.c
@@ -132,7 +132,7 @@ int adi_jtag_dp_scan_u32(swjdp_common_t *swjdp, uint8_t instr, uint8_t reg_addr,
fields[1].in_value = (uint8_t *)invalue;
jtag_add_dr_scan(2, fields, jtag_get_end_state());
- jtag_add_callback(arm_le_to_h_u32, (uint8_t *)invalue);
+ jtag_add_callback(arm_le_to_h_u32, (jtag_callback_data_t) invalue);
} else
{