summaryrefslogtreecommitdiffstats
path: root/emulators/simh/files/patch-Interdata_id16__cpu.c
blob: 857307afab8bd819c95ee76f0d2812abbb2b33a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- Interdata/id16_cpu.c.orig	2016-12-01 22:43:42 UTC
+++ Interdata/id16_cpu.c
@@ -604,7 +604,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 ();
         }
OpenPOWER on IntegriCloud