summaryrefslogtreecommitdiff
path: root/src/target/arm720t.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/arm720t.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/arm720t.c')
-rw-r--r--src/target/arm720t.c2
1 files changed, 1 insertions, 1 deletions
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());