Skip to content
Snippets Groups Projects
Commit 5ae51e69 authored by Drake Arconis's avatar Drake Arconis
Browse files

Switch to using standard vsnprintf on windows

parent f2601d90
No related branches found
No related tags found
No related merge requests found
...@@ -36,11 +36,7 @@ ...@@ -36,11 +36,7 @@
static void va_format(std::string& out, const char *fmt, va_list va) static void va_format(std::string& out, const char *fmt, va_list va)
{ {
char tstr[1024]; /* Flawfinder: ignore */ char tstr[1024]; /* Flawfinder: ignore */
#if LL_WINDOWS
_vsnprintf(tstr, 1024, fmt, va);
#else
vsnprintf(tstr, 1024, fmt, va); /* Flawfinder: ignore */ vsnprintf(tstr, 1024, fmt, va); /* Flawfinder: ignore */
#endif
out.assign(tstr); out.assign(tstr);
} }
......
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