diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-04-19 20:51:16 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-04-19 20:51:16 +0000 |
commit | 40580e2d71ac56131a5da7e5f67a0b63450e4f24 (patch) | |
tree | e35583cefe3a40bfdc0cd2456565f273369b4a3f /src/target/mips_ejtag.c | |
parent | 7989000e0969c1ccf69acbc3ce649a020bc1ee66 (diff) |
Zach Welch <zw@superlucidity.net> fix -Werror warnings
git-svn-id: svn://svn.berlios.de/openocd/trunk@1472 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/mips_ejtag.c')
-rw-r--r-- | src/target/mips_ejtag.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/mips_ejtag.c b/src/target/mips_ejtag.c index cbd30f98..df6fc23a 100644 --- a/src/target/mips_ejtag.c +++ b/src/target/mips_ejtag.c @@ -40,7 +40,7 @@ int mips_ejtag_set_instr(mips_ejtag_t *ejtag_info, int new_instr, in_handler_t h if (tap==NULL) return ERROR_FAIL; - if (buf_get_u32(tap->cur_instr, 0, tap->ir_length) != new_instr) + if (buf_get_u32(tap->cur_instr, 0, tap->ir_length) != (u32)new_instr) { scan_field_t field; u8 t[4]; |