We should not use `C` cast anymore, Please use `static_cast` instead.