[NSWI004] simple_printf with pointers

Krisztian Bokor bokorkrisztian7 at gmail.com
Thu Oct 8 21:03:14 CEST 2020


Good evening,

I'm having trouble with printing pointer addresses in my simple_printf
function: if I cast the void* pointer to unsigned long int, that causes a
bit of data loss, and the value changes slightly. What other approach
should I use?

Thank you in advance,
KrisztiƔn Bokor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://d3s.mff.cuni.cz/pipermail/nswi004/attachments/20201008/4545f5df/attachment-0001.htm>


More information about the NSWI004 mailing list