Commit 9d79ca78 authored by Thomas Faber's avatar Thomas Faber Committed by Alexandre Julliard

msxml3: Avoid a variable-length array.

parent ff3d728d
...@@ -63,9 +63,9 @@ HINSTANCE MSXML_hInstance = NULL; ...@@ -63,9 +63,9 @@ HINSTANCE MSXML_hInstance = NULL;
void wineXmlCallbackLog(char const* caller, xmlErrorLevel lvl, char const* msg, va_list ap) void wineXmlCallbackLog(char const* caller, xmlErrorLevel lvl, char const* msg, va_list ap)
{ {
static const int max_size = 200;
enum __wine_debug_class dbcl; enum __wine_debug_class dbcl;
char buff[max_size]; char buff[200];
const int max_size = sizeof(buff) / sizeof(buff[0]);
int len; int len;
switch (lvl) switch (lvl)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment