diff options
author | Andrew Cagney <cagney@redhat.com> | 1997-08-30 00:02:19 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1997-08-30 00:02:19 +0000 |
commit | f90b720ba1b70759feea3b3a130a6f8b01709d68 (patch) | |
tree | d1fc6c8386824a06ccb4d5d9042110ede99b0f6a /sim/common/sim-events.c | |
parent | 4113ba4cd75baf802d84cb32f5d500082673ef41 (diff) | |
download | gdb-f90b720ba1b70759feea3b3a130a6f8b01709d68.zip gdb-f90b720ba1b70759feea3b3a130a6f8b01709d68.tar.gz gdb-f90b720ba1b70759feea3b3a130a6f8b01709d68.tar.bz2 |
Passify GCC. Convert 0x0LL to something more portable in the FP code.
Diffstat (limited to 'sim/common/sim-events.c')
-rw-r--r-- | sim/common/sim-events.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/common/sim-events.c b/sim/common/sim-events.c index e4b4741..653cd61 100644 --- a/sim/common/sim-events.c +++ b/sim/common/sim-events.c @@ -410,7 +410,7 @@ sim_events_schedule_after_signal (SIM_DESC sd, /* allocate an event entry from the signal buffer */ new_event = &events->held [events->nr_held]; events->nr_held ++; - if (events->nr_held >= MAX_NR_SIGNAL_SIM_EVENTS) + if (events->nr_held > MAX_NR_SIGNAL_SIM_EVENTS) { sim_engine_abort (NULL, NULL, NULL_CIA, "sim_events_schedule_after_signal - buffer oveflow"); @@ -864,7 +864,7 @@ sim_events_tick (SIM_DESC sd) INLINE_SIM_EVENTS\ (int) sim_events_tickn (SIM_DESC sd, - unsigned n) + int n) { sim_events *events = STATE_EVENTS (sd); |