fix LP64 warnings

Use %p to print pointers

Signed-off-by: Alvin Francis <nivlafx@gmail.com>