diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-03-25 06:46:57 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-03-25 06:46:57 +0000 |
commit | 6b1cf264a80f2efe6a4b42553b8bf2e16f51690a (patch) | |
tree | de2cec1bac93bf9b8a5807f7da3a21c04756f19c /ext/dl/handle.c | |
parent | e3c3733a30091958cb00bc1a2e4f0882fe6d59d6 (diff) | |
download | ruby-6b1cf264a80f2efe6a4b42553b8bf2e16f51690a.tar.gz |
* ext/sdbm/_sdbm.c (sdbm_open): use size_t.
* ext/syck/bytecode.c: ditto.
* ext/sdbm/_sdbm.c (delpair): use ptrdiff_t.
* ext/sdbm/init.c: use RSTRING_LENINT.
* ext/dl/handle.c: suppress warning: shorten-64-to-32.
* ext/strscan/strscan.c: ditto.
* ext/syck/emitter.c: ditto.
* ext/syck/implicit.c: ditto.
* ext/syck/syck.c: ditto.
* ext/syck/token.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl/handle.c')
-rw-r--r-- | ext/dl/handle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/handle.c b/ext/dl/handle.c index 6fc771ceb9..ce04acbe21 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__) { |