summaryrefslogtreecommitdiff
path: root/src/target/mips_ejtag.c
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-04-19 20:51:16 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-04-19 20:51:16 +0000
commit40580e2d71ac56131a5da7e5f67a0b63450e4f24 (patch)
treee35583cefe3a40bfdc0cd2456565f273369b4a3f /src/target/mips_ejtag.c
parent7989000e0969c1ccf69acbc3ce649a020bc1ee66 (diff)
downloadopenocd+libswd-40580e2d71ac56131a5da7e5f67a0b63450e4f24.tar.gz
openocd+libswd-40580e2d71ac56131a5da7e5f67a0b63450e4f24.tar.bz2
openocd+libswd-40580e2d71ac56131a5da7e5f67a0b63450e4f24.tar.xz
openocd+libswd-40580e2d71ac56131a5da7e5f67a0b63450e4f24.zip
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.c2
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];