aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
Diffstat (limited to 'sim')
-rw-r--r--sim/rx/ChangeLog2
-rw-r--r--sim/rx/rx.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/sim/rx/ChangeLog b/sim/rx/ChangeLog
index 71c73f0..717816f 100644
--- a/sim/rx/ChangeLog
+++ b/sim/rx/ChangeLog
@@ -2,6 +2,8 @@
* fpu.c, gdb-if.c, load.c, misc.c, syscalls.c (config.h): Include.
+ * rx.c (decode_opcode): Declare `rx' as unsigned.
+
2010-07-29 DJ Delorie <dj@redhat.com>
* rx.c (decode_cache_base): New.
diff --git a/sim/rx/rx.c b/sim/rx/rx.c
index 1deef91..fc12948 100644
--- a/sim/rx/rx.c
+++ b/sim/rx/rx.c
@@ -878,7 +878,7 @@ decode_opcode ()
unsigned long long prev_cycle_count;
#endif
#ifdef CYCLE_ACCURATE
- int tx;
+ unsigned int tx;
#endif
#ifdef CYCLE_STATS