use mrb_int for RString len

This commit is contained in:
Yukihiro Matz Matsumoto
2013-03-04 09:39:04 +09:00
parent 844f6eb625
commit 7e910bd4c2
+3 -3
View File
@@ -24,14 +24,14 @@ extern const char mrb_digitmap[];
typedef struct mrb_shared_string {
int refcnt;
char *ptr;
int len;
mrb_int len;
} mrb_shared_string;
struct RString {
MRB_OBJECT_HEADER;
int len;
mrb_int len;
union {
int capa;
mrb_int capa;
mrb_shared_string *shared;
} aux;
char *ptr;