Fix warning: integer overflow in expression