diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-23 12:18:51 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-23 12:18:51 +0000 |
commit | 8a684f67feb988ac2ca39a58e286ac7d85ebcac3 (patch) | |
tree | 631fc27bba499e9103e55ae3e75ca2458ae91051 /dln.c | |
parent | ef8f24d06ebb9a4c4964d265d9be459249efc9ac (diff) |
merges r27944 from trunk into ruby_1_9_2.
--
* suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@27976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dln.c')
-rw-r--r-- | dln.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1278,7 +1278,7 @@ dln_load(const char *file) goto failed; } - init_fct = (void(*)())dlsym(handle, buf); + init_fct = (void(*)())(VALUE)dlsym(handle, buf); #if defined __SYMBIAN32__ if (init_fct == NULL) { init_fct = (void(*)())dlsym(handle, "1"); /* Some Symbian versions do not support symbol table in DLL, ordinal numbers only */ |