Mariano Alvira <mar@devl.org> fixes warnings

git-svn-id: svn://svn.berlios.de/openocd/trunk@1601 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
oharboe
2009-05-04 11:06:21 +00:00
parent 1f378efbf0
commit 03fdabaaac
3 changed files with 5 additions and 5 deletions

View File

@@ -992,9 +992,9 @@ static int etmv1_analyze_trace(etm_context_t *ctx, struct command_context_s *cmd
if ((pipestat == STAT_IE) || (pipestat == STAT_ID))
{
if (((instruction.type == ARM_B) ||
(instruction.type == ARM_BL) ||
(instruction.type == ARM_BLX)) &&
(instruction.info.b_bl_bx_blx.target_address != ~0UL))
(instruction.type == ARM_BL) ||
(instruction.type == ARM_BLX)) &&
(instruction.info.b_bl_bx_blx.target_address != 0xffffffff))
{
next_pc = instruction.info.b_bl_bx_blx.target_address;
}