diff options
author | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-09-10 11:22:31 +0000 |
---|---|---|
committer | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-09-10 11:22:31 +0000 |
commit | 3dc173c1e92da3798995e3751ec837a1582a2974 (patch) | |
tree | 814185a074f41613268f7fac3d0f21e1f7cbea2f /ext | |
parent | 8744f50b80526f6fbd170e0dc14c6cdf6792c82f (diff) |
* ext/tcltklib/tcltklib.c (lib_merge_tklist): fix suspicious
pointer conversion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/tcltklib/tcltklib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/tcltklib/tcltklib.c b/ext/tcltklib/tcltklib.c index 0a2fcbd349..53c51e4fda 100644 --- a/ext/tcltklib/tcltklib.c +++ b/ext/tcltklib/tcltklib.c @@ -5067,7 +5067,7 @@ lib_merge_tklist(argc, argv, obj) old_gc = rb_gc_disable(); /* based on Tcl/Tk's Tcl_Merge() */ - flagPtr = ALLOC_N(unsigned, argc); + flagPtr = ALLOC_N(int, argc); /* pass 1 */ len = 1; |