diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-19 08:18:36 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-19 08:18:36 +0000 |
commit | 333642fcff9901a8f20c02457756ca9715641139 (patch) | |
tree | 6b2b4d22eaaec6104316093471c9ad40c53787cd /src/target/arm_adi_v5.c | |
parent | a1c14646cbfde337441bb76f09a333c8c40127eb (diff) | |
download | openocd+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.c | 2 |
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 { |