mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Use MRB_DUMP_SIZE_OF_CHAR instead of sizeof(char).
This commit is contained in:
+1
-1
@@ -84,7 +84,7 @@ uint8_dump(unsigned char bin, char *hex, int type)
|
||||
*hex++ = bin2hex[(bin >> 4) & 0x0f];
|
||||
*hex = bin2hex[bin & 0x0f];
|
||||
}
|
||||
return DUMP_SIZE(sizeof(char), type);
|
||||
return DUMP_SIZE(MRB_DUMP_SIZE_OF_CHAR, type);
|
||||
}
|
||||
|
||||
static inline int
|
||||
|
||||
Reference in New Issue
Block a user