[FIX] add static cast (no narrowing conversion)