From 17c48bebf87828abeb5be91ed8ba0a2b72bc5479 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 12 Oct 2010 14:35:40 +0000 Subject: * compile.c (iseq_build_body), insns.def (getglobal, setglobal), iseq.c (iseq_load, iseq_data_to_ary), util.c (valid_filename): use VALUE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util.c') diff --git a/util.c b/util.c index 94396a3991..6cd2d2049e 100644 --- a/util.c +++ b/util.c @@ -373,7 +373,7 @@ valid_filename(const char *s) #define D ((int*)d) #define mmprepare(base, size) do {\ - if (((long)base & (0x3)) == 0)\ + if (((VALUE)base & (0x3)) == 0)\ if (size >= 16) mmkind = 1;\ else mmkind = 0;\ else mmkind = -1;\ -- cgit v1.2.3