summaryrefslogtreecommitdiff
path: root/ext/dl/handle.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dl/handle.c')
-rw-r--r--ext/dl/handle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/handle.c b/ext/dl/handle.c
index 6fc771c..ce04acb 100644
--- a/ext/dl/handle.c
+++ b/ext/dl/handle.c
@@ -310,7 +310,7 @@ dlhandle_sym(void *handle, const char *name)
#if defined(FUNC_STDCALL)
if( !func ){
int i;
- int len = strlen(name);
+ int len = (int)strlen(name);
char *name_n;
#if defined(__CYGWIN__) || defined(_WIN32) || defined(__MINGW32__)
{