aboutsummaryrefslogtreecommitdiff
path: root/src/util/os_installation.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/os_installation.c')
-rw-r--r--src/util/os_installation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/os_installation.c b/src/util/os_installation.c
index 2c678386a..a596ca2c0 100644
--- a/src/util/os_installation.c
+++ b/src/util/os_installation.c
@@ -295,7 +295,7 @@ get_path_from_dyld_image ()
295 c = _dyld_image_count (); 295 c = _dyld_image_count ();
296 for (i = 0; i < c; i++) 296 for (i = 0; i < c; i++)
297 { 297 {
298 if (_dyld_get_image_header (i) != &_mh_dylib_header) 298 if (((const void *) _dyld_get_image_header (i)) != (const void *)&_mh_dylib_header)
299 continue; 299 continue;
300 path = _dyld_get_image_name (i); 300 path = _dyld_get_image_name (i);
301 if ( (NULL == path) || (0 == strlen (path)) ) 301 if ( (NULL == path) || (0 == strlen (path)) )