ref: 09f767f8fe18a9560f850c30f1118316299f1c0a
parent: dec0f336fe4ef4228241822e5b0372a3439a5547
author: Anthony House <tuffant21@aim.com>
date: Sat Nov 24 10:48:32 EST 2018
trying to find the bug
--- a/input.c
+++ b/input.c
@@ -466,9 +466,9 @@
break;
case sc_read : // read(int : void* : long);
// mutate the input
- mut_int((int*)lget(&(sc->inputs), 0), &sc->round);
- mut_voidstar((void**)lget(&(sc->inputs), 1), &sc->round);
- mut_long((long*)lget(&(sc->inputs), 2), &sc->round);
+ mut_int((int*)lget(&(sc->inputs), 0), sc->round);
+ mut_voidstar((void**)lget(&(sc->inputs), 1), sc->round);
+ mut_long((long*)lget(&(sc->inputs), 2), sc->round);
// log the variables
log_call(sc);
--- a/mutate.c
+++ b/mutate.c
@@ -22,6 +22,7 @@
// }
// else
// {
+dolog("The value of round is: %d", *round);
(*in_val) << (rand() % (4 + 1 - 0) + 0);
(*in_val) |= (rand() % (15 + 1 - 0) + 0);
// }