Warning cleanup

Mostly x64 type conversion warnings.

-[Unknown]