summaryrefslogtreecommitdiffhomepage
path: root/src/object.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2016-11-24 09:23:55 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2016-11-24 09:28:00 +0900
commit798c69d1be8d9ab437defb25e5e652d355eef5d4 (patch)
tree09f6bb7439c3dcf0936a57b640facca6e9262ee0 /src/object.c
parentd7a6070d22c21bcb1237d903209114878930de95 (diff)
downloadmruby-798c69d1be8d9ab437defb25e5e652d355eef5d4.tar.gz
mruby-798c69d1be8d9ab437defb25e5e652d355eef5d4.zip
Avoid casting from int to unsigned char for C++; ref #3267
Diffstat (limited to 'src/object.c')
-rw-r--r--src/object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object.c b/src/object.c
index 392432b0f..c61feb342 100644
--- a/src/object.c
+++ b/src/object.c
@@ -380,7 +380,7 @@ static const struct types {
/* {MRB_TT_VARMAP, "Varmap"}, */ /* internal use: dynamic variables */
/* {MRB_TT_NODE, "Node"}, */ /* internal use: syntax tree node */
/* {MRB_TT_UNDEF, "undef"}, */ /* internal use: #undef; should not happen */
- {-1, 0}
+ {MRB_TT_MAXDEFINE, 0}
};
MRB_API void