aboutsummaryrefslogtreecommitdiff
path: root/emulators/simh/files/patch-S3_s3__cpu.c
blob: f409ca248f8f9a8230dc3f5729e419b12669738f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- S3/s3_cpu.c.orig	2016-12-01 22:43:43 UTC
+++ S3/s3_cpu.c
@@ -527,7 +527,7 @@ reason = 0;
 
 while (reason == 0) {                                   /* loop until halted */
 if (sim_interval <= 0) {                                /* check clock queue */
-    if (reason = sim_process_event ()) break;
+    if ((reason = sim_process_event ())) break;
 }
 
 if (int_req) {                                          /* interrupt? */