about summary refs log tree commit diff
path: root/dlfcn/dlerror.c
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 /dlfcn/dlerror.c
parentc218729dd0743af02c085cedba63cfe08e2622b1 (diff)
downloadglibc-ea1efc6f4974e8daaa9ea9ac84636ba333ce1ef0.tar.gz
glibc-ea1efc6f4974e8daaa9ea9ac84636ba333ce1ef0.tar.xz
glibc-ea1efc6f4974e8daaa9ea9ac84636ba333ce1ef0.zip
Update.
	* dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.

2000-07-14  Mark Kettenis  <kettenis@gnu.org>
Diffstat (limited to 'dlfcn/dlerror.c')
-rw-r--r--dlfcn/dlerror.c2
1 files changed, 1 insertions, 1 deletions
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);