diff options
Diffstat (limited to 'src/debug.c')
| -rw-r--r-- | src/debug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/debug.c b/src/debug.c index 8e431af95..7c04ad148 100644 --- a/src/debug.c +++ b/src/debug.c @@ -51,7 +51,7 @@ select_line_type(const uint16_t *lines, size_t lines_len) } MRB_API char const* -mrb_debug_get_filename(mrb_irep *irep, uint32_t pc) +mrb_debug_get_filename(mrb_irep *irep, ptrdiff_t pc) { if (irep && pc < irep->ilen) { mrb_irep_debug_info_file* f = NULL; @@ -64,7 +64,7 @@ mrb_debug_get_filename(mrb_irep *irep, uint32_t pc) } MRB_API int32_t -mrb_debug_get_line(mrb_irep *irep, uint32_t pc) +mrb_debug_get_line(mrb_irep *irep, ptrdiff_t pc) { if (irep && pc < irep->ilen) { mrb_irep_debug_info_file* f = NULL; |
