diff options
Diffstat (limited to 'ruby.h')
-rw-r--r-- | ruby.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -166,7 +166,7 @@ VALUE rb_ull2inum _((unsigned LONG_LONG)); #define FIX2LONG(x) RSHIFT((long)x,1) #define FIX2ULONG(x) (((unsigned long)(x))>>1) #define FIXNUM_P(f) (((long)(f))&FIXNUM_FLAG) -#define POSFIXABLE(f) ((f) <= FIXNUM_MAX) +#define POSFIXABLE(f) ((f) < FIXNUM_MAX+1) #define NEGFIXABLE(f) ((f) >= FIXNUM_MIN) #define FIXABLE(f) (POSFIXABLE(f) && NEGFIXABLE(f)) |