change pointer type to uintptr_t for portability
Merge pull request #104 from abiggerhammer/master

change pointer type to uintptr_t for portability