diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-12-31 19:24:29 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-12-31 19:24:29 +0000 |
commit | d0588e9822496a4b0bbd5717419491174e6e79bd (patch) | |
tree | 480cbfe5d97d9d1037e94ad4d08d11139ce9ec62 /node.h | |
parent | 5ec897d3061347d5e8fedc9135760a92ab4a310a (diff) |
* node.h (struct RNode): Change argc from int to long. Otherwize
NEW_CFUNC() sets argc to a wrong value on platforms where
sizeof(int) != sizeof(long) and the byte order is big-endian.
This fixes breakage on FreeBSD/sparc64.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'node.h')
-rw-r--r-- | node.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -140,7 +140,7 @@ typedef struct RNode { union { struct RNode *node; ID id; - int argc; + long argc; VALUE value; } u2; union { |