etb.c:451: error: large integer implicitly truncated to unsigned type
by changing ~0UL to 0xffffffff in an assignment of a u32
---
src/target/etb.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/target/etb.c b/src/target/etb.c
index b96ffe3..d9b0674 100644
--- a/src/target/etb.c
+++ b/src/target/etb.c
@@ -448,7 +448,7 @@ static int handle_etb_config_command(struct
command_context_s *cmd_ctx, char *cm
arm7_9->etm_ctx->capture_driver_priv = etb;
etb->tap = tap;
- etb->cur_scan_chain = ~0UL;
+ etb->cur_scan_chain = 0xffffffff;
etb->reg_cache = NULL;
etb->ram_width = 0;
etb->ram_depth = 0;
--
1.5.6.5
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development