summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2023-02-07 23:15:22 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2023-02-07 23:15:22 +0100
commite1bcae6d66bdb116f47801ca941765bcb4f51375 (patch)
tree797efb3f79d844002927c6029dae0ccebf625dbf
parentno flushing on every stdout byte (diff)
downloadebs-e1bcae6d66bdb116f47801ca941765bcb4f51375.tar
ebs-e1bcae6d66bdb116f47801ca941765bcb4f51375.tar.gz
ebs-e1bcae6d66bdb116f47801ca941765bcb4f51375.tar.bz2
ebs-e1bcae6d66bdb116f47801ca941765bcb4f51375.tar.lz
ebs-e1bcae6d66bdb116f47801ca941765bcb4f51375.tar.xz
ebs-e1bcae6d66bdb116f47801ca941765bcb4f51375.tar.zst
ebs-e1bcae6d66bdb116f47801ca941765bcb4f51375.zip
-rw-r--r--main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c
index 53ca54b..3c0919b 100644
--- a/main.c
+++ b/main.c
@@ -92,7 +92,8 @@ int main (int argc, char ** argv) {
inštrukcij++;
if (!(inštrukcij % 100000000))
fprintf(stderr, "hitrost izvajanja: %llu op/us (MHz)\r", inštrukcij/(micros()-začetek));
- switch (nit.možen) {
+ int možen = nit.možen;
+ switch (možen) {
case 0: // ni vhoda, ni napake
break;
case 1: // imamo vsaj en bajt