Fix 64bit warnings