diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-07-09 14:10:48 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-07-09 14:10:48 +0900 |
| commit | b5039fdb6c746cc77d0b3a499c0cf0baacc4f815 (patch) | |
| tree | f423ca1151b54d7faa0de4b7e1b44198999d17ba /mrbgems/mruby-bin-debugger | |
| parent | 29556a49a0419ba60721efe2b0fa2c9ecff863f7 (diff) | |
| download | mruby-b5039fdb6c746cc77d0b3a499c0cf0baacc4f815.tar.gz mruby-b5039fdb6c746cc77d0b3a499c0cf0baacc4f815.zip | |
debug.h: use `uint8_t` instead of `char` for BER compressed binary.
Diffstat (limited to 'mrbgems/mruby-bin-debugger')
| -rw-r--r-- | mrbgems/mruby-bin-debugger/tools/mrdb/apibreak.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mrbgems/mruby-bin-debugger/tools/mrdb/apibreak.c b/mrbgems/mruby-bin-debugger/tools/mrdb/apibreak.c index 451ac48bf..a26630599 100644 --- a/mrbgems/mruby-bin-debugger/tools/mrdb/apibreak.c +++ b/mrbgems/mruby-bin-debugger/tools/mrdb/apibreak.c @@ -21,7 +21,7 @@ #define MRB_DEBUG_BP_LINENO_OK (0x0002) static uint32_t -packed_int_decode(char *p, char **newpos) +packed_int_decode(uint8_t *p, uint8_t **newpos) { size_t i = 0, shift = 0; uint32_t n = 0; @@ -60,8 +60,8 @@ check_lineno(mrb_irep_debug_info_file *info_file, uint16_t lineno) case mrb_debug_line_packed_map: { - char *p = info_file->lines.packed_map; - char *pend = p + count; + uint8_t *p = info_file->lines.packed_map; + uint8_t *pend = p + count; uint32_t line = 0; while (p < pend) { packed_int_decode(p, &p); |
