GTUltra icon indicating copy to clipboard operation
GTUltra copied to clipboard

Fix pointer-to-int-cast warnings

Open drfiemost opened this issue 2 years ago • 2 comments

drfiemost avatar Apr 03 '22 09:04 drfiemost

I don't get those warnings, so will need to check if this causes any weirdness on windows build first.

jpage8580 avatar Apr 09 '22 05:04 jpage8580

Converting a pointer to a 32bit integer is wrong, especially on 64bit platforms, and the correct format for printing pointers is %p (https://www.cplusplus.com/reference/cstdio/printf/)

drfiemost avatar Apr 10 '22 13:04 drfiemost