Author: cwittich
Date: Mon Sep 8 07:00:00 2014
New Revision: 64082
URL:
http://svn.reactos.org/svn/reactos?rev=64082&view=rev
Log:
[apitest/crt]
apply the same buffer size fix to _vsnwprintf test
Modified:
trunk/rostests/apitests/crt/_vsnwprintf.c
Modified: trunk/rostests/apitests/crt/_vsnwprintf.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/crt/_vsnwprintf.…
==============================================================================
--- trunk/rostests/apitests/crt/_vsnwprintf.c [iso-8859-1] (original)
+++ trunk/rostests/apitests/crt/_vsnwprintf.c [iso-8859-1] Mon Sep 8 07:00:00 2014
@@ -19,7 +19,7 @@
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);
}