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/arm920t.c | |
parent | a1c14646cbfde337441bb76f09a333c8c40127eb (diff) | |
download | riscv-openocd-333642fcff9901a8f20c02457756ca9715641139.zip riscv-openocd-333642fcff9901a8f20c02457756ca9715641139.tar.gz riscv-openocd-333642fcff9901a8f20c02457756ca9715641139.tar.bz2 |
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/arm920t.c')
-rw-r--r-- | src/target/arm920t.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/arm920t.c b/src/target/arm920t.c index 6e4e076..80e0d99 100644 --- a/src/target/arm920t.c +++ b/src/target/arm920t.c @@ -133,7 +133,7 @@ int arm920t_read_cp15_physical(target_t *target, int reg_addr, uint32_t *value) jtag_add_dr_scan(4, fields, jtag_get_end_state()); - jtag_add_callback(arm_le_to_h_u32, (uint8_t *)value); + jtag_add_callback(arm_le_to_h_u32, (jtag_callback_data_t)value); #ifdef _DEBUG_INSTRUCTION_EXECUTION_ jtag_execute_queue(); |