[apitest/crt]

apply the same buffer size fix to _vsnwprintf test

svn path=/trunk/; revision=64082
This commit is contained in:
Christoph von Wittich 2014-09-08 07:00:00 +00:00
parent c835af900d
commit 5d48b37adf

View file

@ -19,7 +19,7 @@ static void call_varargs(wchar_t* buf, size_t buf_size, int expected_ret, LPCWST
int ret;
/* Test the basic functionality */
va_start(args, formatString);
ret = _vsnwprintf(buf, 255, formatString, args);
ret = _vsnwprintf(buf, buf_size, formatString, args);
ok(expected_ret == ret, "Test failed: expected %i, got %i.\n", expected_ret, ret);
}