aboutsummaryrefslogtreecommitdiffstats
path: root/dftest.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2009-03-22 06:38:02 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2009-03-22 06:38:02 +0000
commit1f905853fb86e8b74fc84112b3a833716fcf8d08 (patch)
treea27451a98daf585dfa2d4ad90423876e85954d3e /dftest.c
parentad4407127e9ba9e46ff7eaa0f61c3a12ac24e704 (diff)
In Solaris, the second argument to dladdr() is just a void *, not a
const void *. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27813 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'dftest.c')
-rw-r--r--dftest.c3
1 files changed, 1 insertions, 2 deletions
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);