I am looking to solve the error of "c++ forbids implicit conversion from 'void *' in assignment". Here is my declarations and below is the section of code that is effected.
#define NULL 0
struct node *next;
struct node *pageFaults, *p, *q, *z, *n;
int count, x, y, r, m, tempx, frames, pages;
This section here needs a cast ...I think
pageFaults = calloc(1, sizeof(struct node)); /* this is my problem section I need a cast for *?