mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 08:03:01 +00:00
[apitests/crt]
pass the correct buffer size svn path=/trunk/; revision=64068
This commit is contained in:
parent
b4cec44624
commit
c14e88bd12
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ static void call_varargs(char* buf, size_t buf_size, int expected_ret, LPCSTR fo
|
||||||
int ret;
|
int ret;
|
||||||
/* Test the basic functionality */
|
/* Test the basic functionality */
|
||||||
va_start(args, formatString);
|
va_start(args, formatString);
|
||||||
ret = _vsnprintf(buf, 255, formatString, args);
|
ret = _vsnprintf(buf, buf_size, formatString, args);
|
||||||
ok(expected_ret == ret, "Test failed: expected %i, got %i.\n", expected_ret, ret);
|
ok(expected_ret == ret, "Test failed: expected %i, got %i.\n", expected_ret, ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue