+2001-09-06 Gary V. Vaughan <gary@gnu.org>
+
+ From Michael Pruett <mpruett@engr.sgi.com>:
+ * libltdl/ltdl.c (find_module): `0' valued arguments to
+ tryall_dlopen_module() must be explicitly cast to avoid compiler
+ warnings on some environments.
+
2001-09-03 Gary V. Vaughan <gary@gnu.org>
* demo/Makefile.am (helldl): Automake 1.4 can't find the target
shuffled. Otherwise, attempt to open FILENAME as a module. */
if (prefix)
{
- error += tryall_dlopen_module (handle, 0, prefix, filename);
+ error += tryall_dlopen_module (handle,
+ (const char *) 0, prefix, filename);
}
else if (tryall_dlopen (handle, filename) != 0)
{
/* try to open the installed module */
if (installed && libdir)
{
- if (tryall_dlopen_module (handle, 0, libdir, dlname) == 0)
+ if (tryall_dlopen_module (handle,
+ (const char *) 0, libdir, dlname) == 0)
return 0;
}
/* maybe it was moved to another directory */
{
- if (tryall_dlopen_module (handle, 0, dir, dlname) == 0)
+ if (tryall_dlopen_module (handle,
+ (const char *) 0, dir, dlname) == 0)
return 0;
}
}