diff options
author | Guy Harris <guy@alum.mit.edu> | 2009-03-22 06:38:02 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2009-03-22 06:38:02 +0000 |
commit | 6f059e8cb7877efe7c87bbd3c6ee3b6737db950f (patch) | |
tree | a27451a98daf585dfa2d4ad90423876e85954d3e /tshark.c | |
parent | 7c6e2155cc01e650987e3adc5529d16c27ad5816 (diff) |
In Solaris, the second argument to dladdr() is just a void *, not a
const void *.
svn path=/trunk/; revision=27813
Diffstat (limited to 'tshark.c')
-rw-r--r-- | tshark.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -773,8 +773,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, "tshark: Can't get pathname of tshark program: %s.\n", init_progfile_dir_error); |