about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-05-05 15:29:58 +0000
committerAndreas Jaeger <aj@suse.de>2000-05-05 15:29:58 +0000
commit621d9092d7fe4ff16816d61aa7036716f14a557f (patch)
tree35f0f65da027786ad3c1257d9d631c962ea61ef0
parentc77ec56d0cd4ae44b03a9eebeeeaaf88850a892d (diff)
downloadglibc-621d9092d7fe4ff16816d61aa7036716f14a557f.tar.gz
glibc-621d9092d7fe4ff16816d61aa7036716f14a557f.tar.xz
glibc-621d9092d7fe4ff16816d61aa7036716f14a557f.zip
2000-05-05 Andreas Jaeger <aj@suse.de>
	* misc/tst-tsearch.c (main): Correct type for initstate argument.
2000-05-05  Andreas Jaeger  <aj@suse.de>

	* misc/tst-tsearch.c (main): Correct type for initstate argument.
-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;