diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-26 01:50:07 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-26 01:50:07 +0000 |
commit | b3545895d1bb5a72e1311022c69b882d6ce90033 (patch) | |
tree | 70c3e4f7569c93dc581c96d4fdb865b4a1b40872 /regint.h | |
parent | 6ef6cbc4f6e6a9a81af48cbd4cad16f1eb6998e2 (diff) | |
download | ruby-b3545895d1bb5a72e1311022c69b882d6ce90033.tar.gz |
* 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/trunk@29102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regint.h')
-rw-r--r-- | regint.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -720,7 +720,7 @@ typedef struct { BBuf* mbuf; /* multi-byte info or NULL */ } CClassNode; -typedef long OnigStackIndex; +typedef intptr_t OnigStackIndex; typedef struct _OnigStackType { unsigned int type; |