Add explicit unsigned suffix.

Should fix the 32-bit build. I think,
second cast not needed
Merge pull request #59 from helium/pt-fix-32bit-builds

Fix 32-bit builds

Reviewed-by: jaredmorrow