aboutsummaryrefslogtreecommitdiff
path: root/sim/mn10300/dv-mn103tim.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/mn10300/dv-mn103tim.c')
-rw-r--r--sim/mn10300/dv-mn103tim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/mn10300/dv-mn103tim.c b/sim/mn10300/dv-mn103tim.c
index d93bb71..cd79f91 100644
--- a/sim/mn10300/dv-mn103tim.c
+++ b/sim/mn10300/dv-mn103tim.c
@@ -842,7 +842,7 @@ write_tm6md (struct hw *me,
unsigned_word offset = address - timers->block[0].base;
- if ( offset != 0x84 && nr_bytes > 1 || nr_bytes > 2 )
+ if ((offset != 0x84 && nr_bytes > 1) || nr_bytes > 2 )
{
hw_abort (me, "Bad write size of %d bytes to TM6MD", nr_bytes);
}