diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-10-07 01:01:22 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-10-07 01:01:22 +0000 |
| commit | c5f0cd094e295742801293fc2de576afbad63707 (patch) | |
| tree | 4dd3830c022fd42e56b22bf3ff07ef1ed0314f17 /pack.c | |
| parent | b3bdf0c0855dea051af31bac024fae743ff707c9 (diff) | |
| download | ruby-c5f0cd094e295742801293fc2de576afbad63707.tar.gz ruby-c5f0cd094e295742801293fc2de576afbad63707.tar.xz ruby-c5f0cd094e295742801293fc2de576afbad63707.zip | |
* lib/cgi.rb (CGI::Cookie::parse): Cookies from Nokia devices may
not be parsed correctly. A patch from August Z. Flatby
(augustzf) in [ruby-Patches-2595]. [ruby-core:06183]
* pack.c (EXTEND16): [ruby-dev:27383]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'pack.c')
| -rw-r--r-- | pack.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -351,12 +351,12 @@ num2i32(x) # define EXTEND32(x) #else /* invariant in modulo 1<<31 */ -# define EXTEND32(x) do {if (!natint) {(x) = (I32)(((1<<31)-1-(x))^~(~0<<31))}} while(0) +# define EXTEND32(x) do {if (!natint) {(x) = (I32)(((1<<31)-1-(x))^~(~0<<31));}} while(0) #endif #if SIZEOF_SHORT == SIZE16 # define EXTEND16(x) #else -# define EXTEND16(x) do { if (!natint) {(x) = (short)(((1<<15)-1-(x))^~(~0<<15))}} while(0) +# define EXTEND16(x) do { if (!natint) {(x) = (short)(((1<<15)-1-(x))^~(~0<<15));}} while(0) #endif #ifdef HAVE_LONG_LONG |
