diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-03-01 08:09:09 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-03-01 08:09:09 +0000 |
| commit | 1a81d2e1e915e6e44df05544c30ffab400f32b67 (patch) | |
| tree | f7aa9f2e4b37877ce86c3f20da4c98ddfe71061e | |
| parent | 6889e0240d41a6533964dea6627bd76c56e33347 (diff) | |
| download | ruby-1a81d2e1e915e6e44df05544c30ffab400f32b67.tar.gz ruby-1a81d2e1e915e6e44df05544c30ffab400f32b67.tar.xz ruby-1a81d2e1e915e6e44df05544c30ffab400f32b67.zip | |
* ruby.h (SYM2ID): should not cast to signed long.
[ruby-core:07414]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | ruby.h | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -9,6 +9,11 @@ Tue Feb 28 09:32:17 2006 NAKAMURA Usaku <usa@ruby-lang.org> * lib/drb/extservm.rb (invoke_service_command): cannot invoke command if command name is quoted on mswin32. [ruby-dev:28400] +Mon Feb 27 00:19:16 2006 Yukihiro Matsumoto <matz@ruby-lang.org> + + * ruby.h (SYM2ID): should not cast to signed long. + [ruby-core:07414] + Fri Feb 24 20:07:23 2006 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp> * test/drb/drbtest.rb (add_service_command): quote pathnames in the @@ -167,7 +167,7 @@ VALUE rb_ull2inum _((unsigned LONG_LONG)); #define SYMBOL_FLAG 0x0e #define SYMBOL_P(x) (((VALUE)(x)&0xff)==SYMBOL_FLAG) #define ID2SYM(x) ((VALUE)(((long)(x))<<8|SYMBOL_FLAG)) -#define SYM2ID(x) RSHIFT((long)x,8) +#define SYM2ID(x) RSHIFT((unsigned long)x,8) /* special contants - i.e. non-zero and non-fixnum constants */ #define Qfalse ((VALUE)0) |
