From 6a2a8172241ca5aab350a28f18fbe2b88ae35063 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 26 Jul 2015 02:20:24 +0000 Subject: load.c: use enum * load.c (rb_construct_expanded_load_path): use enum for the purpose. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- load.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'load.c') diff --git a/load.c b/load.c index 9dc2229db2..fbe75913bf 100644 --- a/load.c +++ b/load.c @@ -46,7 +46,7 @@ enum expand_type { string objects in $LOAD_PATH are frozen. */ static void -rb_construct_expanded_load_path(int type, int *has_relative, int *has_non_cache) +rb_construct_expanded_load_path(enum expand_type type, int *has_relative, int *has_non_cache) { rb_vm_t *vm = GET_VM(); VALUE load_path = vm->load_path; -- cgit v1.2.3