aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--dlfcn/dlerror.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5c24931..ea6b428 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 1650eca..929b5f4 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);