What's the actual compiler error?
I think you're most likely trying to assign a pointer to a non-pointer. Also, you should never need to cast any m/c/realloc() calls.
What's the actual compiler error?
I think you're most likely trying to assign a pointer to a non-pointer. Also, you should never need to cast any m/c/realloc() calls.
SoKrA-BTS "Judge not the program I made, but the one I've yet to code"
I say what I say, I mean what I mean.
IDE: emacs + make + gcc and proud of it.
data is declared as an array of what type?
In the second statement you are assigning the hashNode* previous to the value contained in an element of the data array. If data is not an array of hashNode* then this would create a compiler error.