DEV: Replace natural conversion by static_cast