albertodemichelis / squirrel

Official repository for the programming language Squirrel
http://www.squirrel-lang.org
MIT License
913 stars 156 forks source link

Fix 0x0x printout on gcc / clang #196

Open fireice-uk opened 5 years ago

fireice-uk commented 5 years ago

%p

Is implementation-defined. GCC will print it as 0xffff.... while MSVC will print it as ffff.... This leads to 0x0xfffff

I replaced void* with size_t - it is C99 standard.