summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-bin-debugger/tools/mrdb
diff options
context:
space:
mode:
authormurase_syuka <[email protected]>2014-11-27 01:12:01 +0900
committermurase_syuka <[email protected]>2014-11-27 01:12:01 +0900
commit1248e2ba8afca860656891c98ac8e79f1fdef797 (patch)
treec8c23d32b7dbef196d44e682604c3fcc6af4d02a /mrbgems/mruby-bin-debugger/tools/mrdb
parentdd1497369700f84f595a7fb006b2f2be400cfae4 (diff)
downloadmruby-1248e2ba8afca860656891c98ac8e79f1fdef797.tar.gz
mruby-1248e2ba8afca860656891c98ac8e79f1fdef797.zip
adhoc fix for pass build
Diffstat (limited to 'mrbgems/mruby-bin-debugger/tools/mrdb')
-rwxr-xr-xmrbgems/mruby-bin-debugger/tools/mrdb/cmdbreak.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mrbgems/mruby-bin-debugger/tools/mrdb/cmdbreak.c b/mrbgems/mruby-bin-debugger/tools/mrdb/cmdbreak.c
index 9764d4e07..066293912 100755
--- a/mrbgems/mruby-bin-debugger/tools/mrdb/cmdbreak.c
+++ b/mrbgems/mruby-bin-debugger/tools/mrdb/cmdbreak.c
@@ -60,7 +60,8 @@ print_api_common_error(int32_t error)
#undef STRTOUL
#define STRTOUL(ul,s) \
ul = 0; \
- for(int i=0; ISDIGIT(s[i]); i++) ul = 10*ul + (s[i] -'0');
+ int i = 0; \
+ for(i=0; ISDIGIT(s[i]); i++) ul = 10*ul + (s[i] -'0');
static int32_t
parse_breakpoint_no(char* args)