diff options
| author | murase_syuka <[email protected]> | 2014-11-27 01:12:01 +0900 |
|---|---|---|
| committer | murase_syuka <[email protected]> | 2014-11-27 01:12:01 +0900 |
| commit | 1248e2ba8afca860656891c98ac8e79f1fdef797 (patch) | |
| tree | c8c23d32b7dbef196d44e682604c3fcc6af4d02a /mrbgems/mruby-bin-debugger/tools/mrdb | |
| parent | dd1497369700f84f595a7fb006b2f2be400cfae4 (diff) | |
| download | mruby-1248e2ba8afca860656891c98ac8e79f1fdef797.tar.gz mruby-1248e2ba8afca860656891c98ac8e79f1fdef797.zip | |
adhoc fix for pass build
Diffstat (limited to 'mrbgems/mruby-bin-debugger/tools/mrdb')
| -rwxr-xr-x | mrbgems/mruby-bin-debugger/tools/mrdb/cmdbreak.c | 3 |
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) |
