code and found that when I try to return a pointer it changes from 0x555555f8d010 to 0x55f8d010. The pointers in question are unsigned chars. Apparently the pointer seems to have shifted left? The first 16 or so bits are lost somehow
Ah I found the problem, I was converting a signed char pointer to unsigned, which caused the loss
Well i am still stuck on this, and I am at my wits end. If someone is up for it, I can share a paste to the exact source code and relevant functions. I have been stuck on this for quite some time now, and it might as well be something very stupid but, I just want to fix it and progress further.
Обсуждают сегодня