Fixed VS warnings.