diff options
Diffstat (limited to 'src/pal/tests/palsuite/c_runtime/vswprintf/test1/test1.cpp')
-rw-r--r-- | src/pal/tests/palsuite/c_runtime/vswprintf/test1/test1.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/pal/tests/palsuite/c_runtime/vswprintf/test1/test1.cpp b/src/pal/tests/palsuite/c_runtime/vswprintf/test1/test1.cpp index 968f8a5c69..8d69c82684 100644 --- a/src/pal/tests/palsuite/c_runtime/vswprintf/test1/test1.cpp +++ b/src/pal/tests/palsuite/c_runtime/vswprintf/test1/test1.cpp @@ -17,7 +17,6 @@ /* memcmp is used to verify the results, so this test is dependent on it. */ /* ditto with wcslen */ - int __cdecl main(int argc, char *argv[]) { WCHAR *checkstr = NULL; @@ -26,16 +25,16 @@ int __cdecl main(int argc, char *argv[]) if (PAL_Initialize(argc, argv) != 0) return(FAIL); - checkstr = convert("hello world"); + checkstr = convert("hello world"); testvswp(buf, _countof(buf), checkstr); if (memcmp(checkstr, buf, wcslen(checkstr)*2+2) != 0) { Fail("ERROR: Expected \"%s\", got \"%s\"\n", - convertC(checkstr), convertC(buf)); + convertC(checkstr), convertC(buf)); } - free(checkstr); + free(checkstr); PAL_Terminate(); return PASS; } |