From a894dc6a998b6a90e59a235a4045d1e893469415 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 26 Jul 2015 02:20:24 +0000 Subject: [PATCH] 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(-) 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;