Fixed error C4996.