mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 19:30:10 +00:00
WP fixes
This commit is contained in:
parent
1d3e4b618a
commit
91e4d56a68
@ -226,8 +226,10 @@ do_random_tests (void)
|
|||||||
|
|
||||||
for (size_t n = 0; n < ITERATIONS; n++)
|
for (size_t n = 0; n < ITERATIONS; n++)
|
||||||
{
|
{
|
||||||
/* for wcscmp case align1 and align2 mean here alignment in wchar_t symbols, it
|
/* for wcscmp case align1 and align2 mean here alignment
|
||||||
equal 4*k alignment in bytes, we don't check other alignments like for example p1 = (wchar_t *)(buf1 + 1)
|
in wchar_t symbols, it equal 4*k alignment in bytes, we
|
||||||
|
don't check other alignments like for example
|
||||||
|
p1 = (wchar_t *)(buf1 + 1)
|
||||||
because it's wrong using of wchar_t type. */
|
because it's wrong using of wchar_t type. */
|
||||||
size_t align1 = random () & 31;
|
size_t align1 = random () & 31;
|
||||||
size_t align2;
|
size_t align2;
|
||||||
|
Loading…
Reference in New Issue
Block a user