diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-08-12 09:35:35 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-08-12 09:35:35 +0900 |
| commit | 8bf492f12707777c321dcf40494f757947649f62 (patch) | |
| tree | d03211047847039b1f3387a00d2a76c53e46c98e /mrbgems/mruby-bin-debugger/tools/mrdb/cmdbreak.c | |
| parent | baa5d2e3f72cb036c8c4e4f434b584998caaaa2c (diff) | |
| download | mruby-8bf492f12707777c321dcf40494f757947649f62.tar.gz mruby-8bf492f12707777c321dcf40494f757947649f62.zip | |
Reduce integer type mismatch warnings in VC.
Diffstat (limited to 'mrbgems/mruby-bin-debugger/tools/mrdb/cmdbreak.c')
| -rw-r--r-- | mrbgems/mruby-bin-debugger/tools/mrdb/cmdbreak.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-bin-debugger/tools/mrdb/cmdbreak.c b/mrbgems/mruby-bin-debugger/tools/mrdb/cmdbreak.c index 6bbe4cfbb..8e5901754 100644 --- a/mrbgems/mruby-bin-debugger/tools/mrdb/cmdbreak.c +++ b/mrbgems/mruby-bin-debugger/tools/mrdb/cmdbreak.c @@ -274,7 +274,7 @@ parse_breakcommand(mrdb_state *mrdb, const char **file, uint32_t *line, char **c STRTOUL(l, body); if (l <= 65535) { *line = l; - *file = (body == args)? mrb_debug_get_filename(dbg->irep, (uint32_t)(dbg->pc - dbg->irep->iseq)): args; + *file = (body == args)? mrb_debug_get_filename(dbg->irep, dbg->pc - dbg->irep->iseq): args; } else { puts(BREAK_ERR_MSG_RANGEOVER); |
