aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-07-14 20:37:48 +0000
committerUlrich Drepper <drepper@redhat.com>2000-07-14 20:37:48 +0000
commitea1efc6f4974e8daaa9ea9ac84636ba333ce1ef0 (patch)
tree6db78c8ea715c7ac2b57bcbfe483ebcb87821348
parentc218729dd0743af02c085cedba63cfe08e2622b1 (diff)
downloadglibc-ea1efc6f4974e8daaa9ea9ac84636ba333ce1ef0.tar
glibc-ea1efc6f4974e8daaa9ea9ac84636ba333ce1ef0.tar.gz
glibc-ea1efc6f4974e8daaa9ea9ac84636ba333ce1ef0.tar.bz2
glibc-ea1efc6f4974e8daaa9ea9ac84636ba333ce1ef0.zip
Update.
* dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning. 2000-07-14 Mark Kettenis <kettenis@gnu.org>
-rw-r--r--ChangeLog4
-rw-r--r--dlfcn/dlerror.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5c249318dc..ea6b428d29 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2000-07-14 Mark Kettenis <kettenis@gnu.org>
+ * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
+
+2000-07-14 Mark Kettenis <kettenis@gnu.org>
+
* configure.in: Check for pwd binary.
* config.make.in: Add PWD_P to be subsituted.
* Makerules: Use $(PWD_P) instead of /bin/pwd.
diff --git a/dlfcn/dlerror.c b/dlfcn/dlerror.c
index 1650eca729..929b5f439b 100644
--- a/dlfcn/dlerror.c
+++ b/dlfcn/dlerror.c
@@ -159,7 +159,7 @@ free_key_mem (void *mem)
if (result->errstring != NULL
&& strcmp (result->errstring, "out of memory") != 0)
- free (result->errstring);
+ free ((char *) result->errstring);
free (mem);
__libc_setspecific (key, NULL);