summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-10-14 00:09:07 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-10-14 00:09:07 +0000
commit694826d7e2c75e4960b317a475110903458e3c17 (patch)
treedcf9a076173871bf1535503a62e0badd9a319cf0 /file.c
parent51427700cc7da46430f0873f4d3b3478016786d9 (diff)
Refix for r29493; it is unsigned.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r--file.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/file.c b/file.c
index edce3c86b5..33425faae1 100644
--- a/file.c
+++ b/file.c
@@ -317,11 +317,11 @@ rb_stat_cmp(VALUE self, VALUE other)
#define ST2UINT(val) ((val) & ~(~1UL << (sizeof(val) * CHAR_BIT - 1)))
#if SIZEOF_DEV_T > SIZEOF_LONG && defined(HAVE_LONG_LONG)
-# define DEVT2NUM(v) LL2NUM(v)
+# define DEVT2NUM(v) ULL2NUM(v)
#elif SIZEOF_DEV_T == SIZEOF_LONG
-# define DEVT2NUM(v) LONG2NUM(v)
+# define DEVT2NUM(v) ULONG2NUM(v)
#else
-# define DEVT2NUM(v) INT2NUM(v)
+# define DEVT2NUM(v) UINT2NUM(v)
#endif
/*