use "unsigned int" for uintptr_t typedef

- makes it work with MSVC, which provides its own version of uintptr_t without
  stdint.h