diff options
Diffstat (limited to 'ext/tk/tcltklib.c')
-rw-r--r-- | ext/tk/tcltklib.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/tk/tcltklib.c b/ext/tk/tcltklib.c index a91aaabb37..47dc52a337 100644 --- a/ext/tk/tcltklib.c +++ b/ext/tk/tcltklib.c @@ -7033,7 +7033,7 @@ call_queue_handler(evPtr, flags) } /* set result */ - RARRAY_PTR(q->result)[0] = ret; + RARRAY_ASET(q->result, 0, ret); ret = (VALUE)NULL; /* decr internal handler mark */ @@ -7525,7 +7525,7 @@ eval_queue_handler(evPtr, flags) } /* set result */ - RARRAY_PTR(q->result)[0] = ret; + RARRAY_ASET(q->result, 0, ret); ret = (VALUE)NULL; /* decr internal handler mark */ @@ -9026,7 +9026,7 @@ invoke_queue_handler(evPtr, flags) } /* set result */ - RARRAY_PTR(q->result)[0] = ret; + RARRAY_ASET(q->result, 0, ret); ret = (VALUE)NULL; /* decr internal handler mark */ |