diff options
Diffstat (limited to 'src/pal/tests/palsuite/c_runtime/_wfopen/test1/test1.cpp')
-rw-r--r-- | src/pal/tests/palsuite/c_runtime/_wfopen/test1/test1.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pal/tests/palsuite/c_runtime/_wfopen/test1/test1.cpp b/src/pal/tests/palsuite/c_runtime/_wfopen/test1/test1.cpp index 81d2502cd5..93fdb012d2 100644 --- a/src/pal/tests/palsuite/c_runtime/_wfopen/test1/test1.cpp +++ b/src/pal/tests/palsuite/c_runtime/_wfopen/test1/test1.cpp @@ -69,7 +69,7 @@ int __cdecl main(int argc, char **argv) free(PrintResult); } - memset(name, '\0', 128); + memset(name, '\0', 128 * sizeof(name[0])); } PAL_Terminate(); |