Clearing 64-bit warnings

Clearing out all of the 64-bit warnings that come up when building against 64-bit targets.