diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-21 09:10:23 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-21 09:10:23 +0000 |
commit | 87af442f946da3b5ab3bc8fb351824ec8c240fe7 (patch) | |
tree | 792f75b9f15c0da49ecf99a8512ccd5581f59733 /ruby.c | |
parent | c6b6293bc13b9107cad52f407810cddc4dd0b475 (diff) | |
download | ruby-87af442f946da3b5ab3bc8fb351824ec8c240fe7.tar.gz |
* suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
-rw-r--r-- | ruby.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -369,7 +369,7 @@ ruby_init_loadpath_safe(int safe_level) _execname(libpath, sizeof(libpath) - 1); #elif defined(HAVE_DLADDR) Dl_info dli; - if (dladdr(expand_include_path, &dli)) { + if (dladdr((void *)(VALUE)expand_include_path, &dli)) { VALUE rb_realpath_internal(VALUE basedir, VALUE path, int strict); char fbuf[MAXPATHLEN]; char *f = dln_find_file_r(dli.dli_fname, getenv(PATH_ENV), fbuf, sizeof(fbuf)); |