Explicit type conversion to remove warning