Use MRB_DUMP_SIZE_OF_CHAR instead of sizeof(char).

This commit is contained in:
Masaki Muranaka
2012-10-22 11:17:31 +09:00
parent 0debca9bdf
commit fed285d194
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -41,6 +41,7 @@ int mrb_bdump_irep(mrb_state *mrb, int n, FILE *f,const char *initname);
#define MRB_DUMP_SIZE_OF_LONG 4
#define MRB_DUMP_SIZE_OF_INT 4
#define MRB_DUMP_SIZE_OF_SHORT 2
#define MRB_DUMP_SIZE_OF_CHAR 1
/* null symbol length */
#define MRB_DUMP_NULL_SYM_LEN 0xFFFF