Fix 64-bit warnings (int)