summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--string/test-memset.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 9b4ef81f51..34697d2c36 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,10 @@
2005-07-24 Ulrich Drepper <drepper@redhat.com>
+ * string/test-memset.c (test_main): Use negative byte value is
+ test.
+
* string/test-memset.c (do_one_test): Compare effect of call, not
only return value.
-
Add a few casts to avoid warnings.
2005-07-24 SUGIOKA Toshinobu <sugioka@itonet.co.jp>
diff --git a/string/test-memset.c b/string/test-memset.c
index 6ea8455e01..601ace4195 100644
--- a/string/test-memset.c
+++ b/string/test-memset.c
@@ -193,7 +193,7 @@ test_main (void)
printf ("\t%s", impl->name);
putchar ('\n');
- for (c = 0; c <= 130; c += 65)
+ for (c = -65; c <= 130; c += 65)
{
for (i = 0; i < 18; ++i)
do_test (0, c, 1 << i);