Fix to C4244 warnings.