My current problem is about the compiler giving warnings that don't make sense to me, as in I don't understand why they're happening.
"initialization makes pointer from integer without a cast"
The variable in question is an unsigned char*. It is initialised by a function which returns an unsigned char*. I honsetly can't find the problem there. I'm returning a pointer, not an integer. I made casted the return value as (unsigned char*) so I could shut it up, but now that I'm getting unexplained segmentation faults out of nowhere I think it's time to find out why it's happening...I have multiple functions which are doing this.
EDIT: Just realised I posted in the windows forum :/...Could someone please move it to windows forum since there's no delete?