msxml3: Avoid a variable-length array.

This commit is contained in:
Thomas Faber 2014-03-25 09:20:22 +01:00 committed by Alexandre Julliard
parent ff3d728d74
commit 9d79ca78db
1 changed files with 2 additions and 2 deletions

View File

@ -63,9 +63,9 @@ HINSTANCE MSXML_hInstance = NULL;
void wineXmlCallbackLog(char const* caller, xmlErrorLevel lvl, char const* msg, va_list ap)
{
static const int max_size = 200;
enum __wine_debug_class dbcl;
char buff[max_size];
char buff[200];
const int max_size = sizeof(buff) / sizeof(buff[0]);
int len;
switch (lvl)