diff options
Diffstat (limited to 'dln.c')
-rw-r--r-- | dln.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1316,7 +1316,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 */ |