aboutsummaryrefslogtreecommitdiff
path: root/emulators/simh/files/patch-Interdata_id32__cpu.c
blob: 55f4d77c03096b2259d8b1f3489c9c5eee58cad3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- Interdata/id32_cpu.c.orig	2016-12-01 22:43:42 UTC
+++ Interdata/id32_cpu.c
@@ -664,7 +664,7 @@ while (reason == 0) {                   
     int32 sr, st;
 
     if (sim_interval <= 0) {                            /* check clock queue */
-        if (reason = sim_process_event ())
+        if ((reason = sim_process_event ()))
             break;
         int_eval ();
         }