mirror of
https://github.com/reactos/reactos.git
synced 2024-06-19 11:19:47 +00:00
[apitest/crt]
apply the same buffer size fix to _vsnwprintf test svn path=/trunk/; revision=64082
This commit is contained in:
parent
c835af900d
commit
5d48b37adf
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue