Removed some 64bit warnings