aboutsummaryrefslogtreecommitdiff
path: root/src/util/os_installation.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-09-26 09:37:44 +0000
committerChristian Grothoff <christian@grothoff.org>2013-09-26 09:37:44 +0000
commitf0fcfd50e22f1daa8215e277bff365c09347284c (patch)
treef66b0aad37c2fa6c337e48e44e36e4db5b939c95 /src/util/os_installation.c
parentbedd5d77bdc9736e223c964cee167f7472e843c8 (diff)
downloadgnunet-f0fcfd50e22f1daa8215e277bff365c09347284c.tar.gz
gnunet-f0fcfd50e22f1daa8215e277bff365c09347284c.zip
-get rid of compiler warning
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)) )