Resolve 64-bit warnings