libextractor

GNU libextractor
Log | Files | Refs | Submodules | README | LICENSE

commit bfe7656c6e8c9cf666270d77dc91bad5135292a0
parent c3a8e8bb8f4e746b2f88e52a12bab14182e7d753
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat, 22 Sep 2012 17:02:06 +0000

-fixing OSX build issues

Diffstat:
Msrc/main/extractor_plugpath.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/main/extractor_plugpath.c b/src/main/extractor_plugpath.c @@ -257,13 +257,14 @@ get_path_from_dyld_image () { const char *path; char *s; + char *p; unsigned int i; int c; c = _dyld_image_count (); for (i = 0; i < c; i++) { - if (_dyld_get_image_header (i) != &_mh_dylib_header) + if (((void *) _dyld_get_image_header (i)) != (void *) &_mh_dylib_header) continue; path = _dyld_get_image_name (i); if ( (NULL == path) || (0 == strlen (path)) )