summaryrefslogtreecommitdiff
path: root/src/jtag/tcl.c
diff options
context:
space:
mode:
authorduane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-19 23:15:58 +0000
committerduane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-19 23:15:58 +0000
commit40d7e81c45d112522f021205f7f1b46f025b8984 (patch)
tree2058ea0252b5753be1ab7c0f508958fb7e47823c /src/jtag/tcl.c
parent9eb3181cc8bb0b82d6c9e580c2042274e5490b77 (diff)
downloadopenocd_libswd-40d7e81c45d112522f021205f7f1b46f025b8984.tar.gz
openocd_libswd-40d7e81c45d112522f021205f7f1b46f025b8984.tar.bz2
openocd_libswd-40d7e81c45d112522f021205f7f1b46f025b8984.tar.xz
openocd_libswd-40d7e81c45d112522f021205f7f1b46f025b8984.zip
printf() warning fixes due to uint32_t change-over
git-svn-id: svn://svn.berlios.de/openocd/trunk@2293 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/jtag/tcl.c')
-rw-r--r--src/jtag/tcl.c20
1 files changed, 13 insertions, 7 deletions
diff --git a/src/jtag/tcl.c b/src/jtag/tcl.c
index 010b375f..44d652de 100644
--- a/src/jtag/tcl.c
+++ b/src/jtag/tcl.c
@@ -872,16 +872,16 @@ static int handle_scan_chain_command(struct command_context_s *cmd_ctx, char *cm
tap->abs_chain_position,
tap->dotted_name,
tap->enabled ? 'Y' : 'n',
- tap->idcode,
- (tap->expected_ids_cnt > 0 ? tap->expected_ids[0] : 0),
- tap->ir_length,
- expected,
- expected_mask,
- cur_instr);
+ (unsigned int)(tap->idcode),
+ (unsigned int)(tap->expected_ids_cnt > 0 ? tap->expected_ids[0] : 0),
+ (unsigned int)(tap->ir_length),
+ (unsigned int)(expected),
+ (unsigned int)(expected_mask),
+ (unsigned int)(cur_instr));
for (ii = 1; ii < tap->expected_ids_cnt; ii++) {
command_print(cmd_ctx, " | | | | 0x%08x | | | | ",
- tap->expected_ids[ii]);
+ (unsigned int)(tap->expected_ids[ii]));
}
tap = tap->next_tap;
@@ -1503,3 +1503,9 @@ static int handle_tms_sequence_command(struct command_context_s *cmd_ctx, char *
return ERROR_OK;
}
+/*
+ * Local Variables:
+ * c-basic-offset: 4
+ * tab-width: 4
+ * End:
+ */