summaryrefslogtreecommitdiff
path: root/regint.h
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-10-02 11:20:21 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-10-02 11:20:21 +0000
commit90918d356a2b011a2047dfe45e23ae6c11b2b057 (patch)
treee533db927afde2988f1c95e20f89235085a0e781 /regint.h
parent4c513b5e68ca2b3a96fa3cc413fd0eeea83c46a2 (diff)
merges r29102 from trunk into ruby_1_9_2. fixes #3743.
-- * regint.h (OnigStackIndex): the type should be intptr_t. Original Oniguruma assumes the size of long and that of void * are equal, but it's not true on LLP64 platform: mswin64. originally patched by shintaro kuwamoto [ruby-dev:42133] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regint.h')
-rw-r--r--regint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/regint.h b/regint.h
index 6c5ae7ba57..c2bf71da7e 100644
--- a/regint.h
+++ b/regint.h
@@ -716,7 +716,7 @@ typedef struct {
BBuf* mbuf; /* multi-byte info or NULL */
} CClassNode;
-typedef long OnigStackIndex;
+typedef intptr_t OnigStackIndex;
typedef struct _OnigStackType {
unsigned int type;