From 6f059e8cb7877efe7c87bbd3c6ee3b6737db950f Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sun, 22 Mar 2009 06:38:02 +0000 Subject: In Solaris, the second argument to dladdr() is just a void *, not a const void *. svn path=/trunk/; revision=27813 --- dftest.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'dftest.c') diff --git a/dftest.c b/dftest.c index 7fbadd8bc7..eba59b0ea4 100644 --- a/dftest.c +++ b/dftest.c @@ -75,8 +75,7 @@ main(int argc, char **argv) /* * Attempt to get the pathname of the executable file. */ - init_progfile_dir_error = init_progfile_dir(argv[0], - (const void *)main); + init_progfile_dir_error = init_progfile_dir(argv[0], (void *)main); if (init_progfile_dir_error != NULL) { fprintf(stderr, "dftest: Can't get pathname of dftest program: %s.\n", init_progfile_dir_error); -- cgit v1.2.1