* ext/tcltklib/tcltklib.c (lib_merge_tklist): fix suspicious

pointer conversion.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ocean 2004-09-10 11:22:31 +00:00
parent 6302bcf022
commit b22110e517
2 changed files with 6 additions and 1 deletions

View file

@ -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;