diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2023-02-07 23:15:22 +0100 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2023-02-07 23:15:22 +0100 |
commit | e1bcae6d66bdb116f47801ca941765bcb4f51375 (patch) | |
tree | 797efb3f79d844002927c6029dae0ccebf625dbf | |
parent | no flushing on every stdout byte (diff) | |
download | ebs-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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |