diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | dlfcn/dlerror.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -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); |