[L2Ork-dev] pointer format specifier

Jonathan Wilkes jon.w.wilkes at gmail.com
Mon Apr 16 19:54:39 EDT 2018


Hi list,

It appears the "%lx" format specifier for pointers was used to
make Pd become 64-bit clean.

However, on Windows 64 long is only 32 bits and thus
ill-suited for representing pointer-sized data.

What's wrong with using the %p specifier and casting the
pointer to type (void *)?

-Jonathan


More information about the L2Ork-dev mailing list