*nprintf instead of *nprintf_s

use _vsnprintf instead of _vsnprintf_s
use _snprintf instead of _snprintf_s