diff options
Diffstat (limited to 'src/cdump.c')
| -rw-r--r-- | src/cdump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cdump.c b/src/cdump.c index 84cc24ae4..ecc27d9a1 100644 --- a/src/cdump.c +++ b/src/cdump.c @@ -311,7 +311,7 @@ cdump_debug(mrb_state *mrb, const char *name, int n, mrb_irep_debug_info *info, case mrb_debug_line_packed_map: line_type = "mrb_debug_line_packed_map"; fprintf(fp, "static char %s_debug_lines_%d[] = \"", name, n); - char *pmap = info->files[0]->lines.packed_map; + uint8_t *pmap = info->files[0]->lines.packed_map; for (i=0; i<len; i++) { fprintf(fp, "\\x%02x", pmap[i]&0xff); } |
