mirror of
https://github.com/ruby/ruby.git
synced 2025-08-25 05:55:46 +02:00
* 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:
parent
6302bcf022
commit
b22110e517
2 changed files with 6 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue