Skip to content
Snippets Groups Projects
Commit e55f0b7e authored by rswindell's avatar rswindell
Browse files

Use _vsnprintf() for Win32.

parent b2e67b17
No related branches found
No related tags found
No related merge requests found
......@@ -601,7 +601,7 @@ int ciolib_cprintf(char *fmat, ...)
va_start(argptr,fmat);
#ifdef _WIN32
ret=vsnprintf(str,sizeof(str)-1,fmat,argptr);
ret=_vsnprintf(str,sizeof(str)-1,fmat,argptr);
#else
ret=vsnprintf(NULL,0,fmat,argptr);
str=(char *)malloc(ret+1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment