summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ruby.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ruby.h b/ruby.h
index 8b5dc179fe..ed18bf0c9e 100644
--- a/ruby.h
+++ b/ruby.h
@@ -316,7 +316,7 @@ struct RString {
long len;
char *ptr;
union {
- int capa;
+ long capa;
VALUE shared;
} aux;
};
@@ -325,7 +325,7 @@ struct RArray {
struct RBasic basic;
long len;
union {
- int capa;
+ long capa;
VALUE shared;
} aux;
VALUE *ptr;