From c0cd474d4ffedb1eeb49505f53c0727a008bdd3e Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Mon, 18 May 2020 12:41:59 +0900 Subject: Prefer dedicated enum over int --- compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compile.c') diff --git a/compile.c b/compile.c index 6ce68e5443..574354f893 100644 --- a/compile.c +++ b/compile.c @@ -6946,7 +6946,7 @@ delegate_call_p(const rb_iseq_t *iseq, unsigned int argc, const LINK_ANCHOR *arg } static int -compile_call(rb_iseq_t *iseq, LINK_ANCHOR *const ret, const NODE *const node, int type, int line, int popped) +compile_call(rb_iseq_t *iseq, LINK_ANCHOR *const ret, const NODE *const node, const enum node_type type, int line, int popped) { /* call: obj.method(...) * fcall: func(...) -- cgit v1.2.3