ref: d637a2038dca0617d1190f3b45bb47db50047e59
parent: d663902e8e316f8274cd0e2a944473a1268b3dae
author: Anthony House <tuffant21@aim.com>
date: Sat Nov 24 11:03:07 EST 2018
pushing the pointer bug steve was trying to solve
--- a/input.c
+++ b/input.c
@@ -466,7 +466,7 @@
break;
case sc_read : // read(int : void* : long);
// mutate the input
- mut_int((int*)lget(&(sc->inputs), 0), &sc->round);
+ mut_int((int*)((t_type*)lget(&(sc->inputs), 0))->var, &sc->round);
mut_voidstar((void**)lget(&(sc->inputs), 1), &sc->round);
mut_long((long*)lget(&(sc->inputs), 2), &sc->round);