diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-27 16:48:15 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-27 16:48:15 +0000 |
commit | 462804fce43b15d0ffda8d37a0eee66d33b78246 (patch) | |
tree | 068c37dedc2f20e7f16b946cd10bce523e9cbf3c /ext/tk/tkutil/tkutil.c | |
parent | f72bd6e720ec0a75a3d3e64daef1536297c53967 (diff) | |
download | ruby-462804fce43b15d0ffda8d37a0eee66d33b78246.tar.gz |
suppress warnings
* ext/-test-/postponed_job/postponed_job.c (pjob_register),
(pjob_call_direct): none void function.
* ext/-test-/tracepoint/tracepoint.c (tracepoint_track_objspace_events):
adjust type to get rid of implicit cast.
* ext/objspace/object_tracing.c (newobj_i): ditto.
* ext/tk/tkutil/tkutil.c (tk_conv_args): adjust type against
RHASH_SIZE().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/tkutil/tkutil.c')
-rw-r--r-- | ext/tk/tkutil/tkutil.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/tk/tkutil/tkutil.c b/ext/tk/tkutil/tkutil.c index 88f1291006..318b2732d0 100644 --- a/ext/tk/tkutil/tkutil.c +++ b/ext/tk/tkutil/tkutil.c @@ -936,7 +936,8 @@ tk_conv_args(argc, argv, self) VALUE *argv; /* [0]:base_array, [1]:enc_mode, [2]..[n]:args */ VALUE self; { - int idx, size; + int idx; + long size; volatile VALUE dst; int thr_crit_bup; VALUE old_gc; |