summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-bin-debugger/tools
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2015-12-22 18:02:31 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2015-12-22 18:02:31 +0900
commit7e4a7abf5f2396acc1eb302da75f79b296aa3b31 (patch)
tree16f444f586b644175032c34253a14e1e2cb403c2 /mrbgems/mruby-bin-debugger/tools
parentd0727be6eb22932aaf67447d09c9b3751516e891 (diff)
parent7cc33af2dc1137ef819b589e51e3756bdaa222e1 (diff)
downloadmruby-7e4a7abf5f2396acc1eb302da75f79b296aa3b31.tar.gz
mruby-7e4a7abf5f2396acc1eb302da75f79b296aa3b31.zip
Merge pull request #3055 from mattn/fix-msvc-warnings
fix build on VS2012
Diffstat (limited to 'mrbgems/mruby-bin-debugger/tools')
-rwxr-xr-xmrbgems/mruby-bin-debugger/tools/mrdb/apibreak.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mrbgems/mruby-bin-debugger/tools/mrdb/apibreak.c b/mrbgems/mruby-bin-debugger/tools/mrdb/apibreak.c
index 986c69d82..67b4e8422 100755
--- a/mrbgems/mruby-bin-debugger/tools/mrdb/apibreak.c
+++ b/mrbgems/mruby-bin-debugger/tools/mrdb/apibreak.c
@@ -450,7 +450,7 @@ mrb_debug_check_breakpoint_line( mrb_state *mrb, mrb_debug_context *dbg, const c
{
mrb_debug_breakpoint *bp;
mrb_debug_linepoint *line_p;
- int i;
+ uint32_t i;
if((mrb == NULL) || (dbg == NULL) || (file == NULL) || (line <= 0)) {
return MRB_DEBUG_INVALID_ARGUMENT;
@@ -488,7 +488,7 @@ mrb_debug_check_breakpoint_method( mrb_state *mrb, mrb_debug_context *dbg, struc
{
mrb_debug_breakpoint *bp;
int32_t bpno;
- int i;
+ uint32_t i;
if((mrb == NULL) || (dbg == NULL) || (class_obj == NULL)) {
return MRB_DEBUG_INVALID_ARGUMENT;