Fixed 64 bit warnings