Fix some point de-referencing issues
Adjustments to pending after int -> uint64_t change
Adjustments to pending after int -> uint64_t change
Adjustments to pending after int -> uint64_t change
Adjustments to pending after int -> uint64_t change
Merge pull request #1 from b333z/issue-1461-int-fixes

Fix some pointer issues and type changes