BankHacker wrote: > struct random_data *randomdataState; > memset(randomdataState, 0, sizeof(*randomdataState)); Remove the * from randomdataState definition. Fix up all the weirdness that came from mistakenly making that a pointer. -Andy