Avoid casting from int to unsigned char for C++; ref #3267

This commit is contained in:
Yukihiro "Matz" Matsumoto
2016-11-24 09:23:55 +09:00
parent d7a6070d22
commit 798c69d1be
+1 -1
View File
@@ -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