Remove type conversion warning