summaryrefslogtreecommitdiff
path: root/string/test-strcmp.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-12-17 14:40:33 -0500
committerUlrich Drepper <drepper@gmail.com>2011-12-17 14:40:33 -0500
commit91e4d56a68a577d747000980eba94976fa687a35 (patch)
tree235a109c97f7b768bc238045ce1bfd2ea8cc942d /string/test-strcmp.c
parent1d3e4b618ae0217f1736753f3085f9c4fcc827bf (diff)
downloadglibc-91e4d56a68a577d747000980eba94976fa687a35.tar.gz
WP fixes
Diffstat (limited to 'string/test-strcmp.c')
-rw-r--r--string/test-strcmp.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/string/test-strcmp.c b/string/test-strcmp.c
index 5ed9626020..62a42eba85 100644
--- a/string/test-strcmp.c
+++ b/string/test-strcmp.c
@@ -226,9 +226,11 @@ do_random_tests (void)
for (size_t n = 0; n < ITERATIONS; n++)
{
- /* for wcscmp case align1 and align2 mean here alignment 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. */
+ /* for wcscmp case align1 and align2 mean here alignment
+ 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. */
size_t align1 = random () & 31;
size_t align2;
if (random () & 1)