Code:
SpeedRun_Time = 60;


That is wrong. SpeedRun_Time is a pointer. You write the address 60 to that pointer. What you intended to do was setting the integer value SpeedRun_Time was pointing to, right?


Always learn from history, to be sure you make the same mistakes again...