Hi all,
I'm sure I'm missing something obvious, so please bear with me. What I would like to do is
* get a pointer to a heap segment via getmem() - in advance I can not assume anything about the alignment as this is depending on OS and architecture I understand
* before I hand the pointer over to a function I want to align it to 0, 8, 16, 24 (mod 32)
* I would like to do this without generating a compiler warning (for my own ease of mind) and it should be working regardless if the environment sets pointer sizes to 4 or 8 byte and data sizes to 32 or 64 bit
There are of course zillions of solutions aligning the pointers - but I couldn't come up with one that does not generate a warning. I have looked into PTRUINT and PPTRUINT also but seem to not understand these correct ...
Kind regards,
MathMan