about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--misc/tst-tsearch.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 7ed139d0fa..693ca9e1ac 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-05-05  Andreas Jaeger  <aj@suse.de>
+
+	* misc/tst-tsearch.c (main): Correct type for initstate argument.
+
 2000-05-05  Ulrich Drepper  <drepper@redhat.com>
 
 	* elf/Makefile (distribute): Add dl-lookupcfg.h.
diff --git a/misc/tst-tsearch.c b/misc/tst-tsearch.c
index 7a0c5fac6e..06f743bc05 100644
--- a/misc/tst-tsearch.c
+++ b/misc/tst-tsearch.c
@@ -1,5 +1,5 @@
 /* Test program for tsearch et al.
-   Copyright (C) 1997 Free Software Foundation, Inc.
+   Copyright (C) 1997, 2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -244,7 +244,7 @@ int
 main (int argc, char **argv)
 {
   int total_error = 0;
-  static int state[8] = { 1, 2, 3, 4, 5, 6, 7, 8 };
+  static char state[8] = { 1, 2, 3, 4, 5, 6, 7, 8 };
   void *root = NULL;
   int i, j;