- Timestamp:
- Jan 21, 2018, 12:10:09 AM (6 years ago)
- Location:
- EcnlProtoTool/trunk/mruby-1.3.0
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
EcnlProtoTool/trunk/mruby-1.3.0/mrbgems/mruby-bin-debugger/tools/mrdb/apilist.c
r321 r331 10 10 #include "mrdberror.h" 11 11 #include "apilist.h" 12 #include "mruby/compile.h"13 #include "mruby/irep.h"14 #include "mruby/debug.h"12 #include <mruby/compile.h> 13 #include <mruby/irep.h> 14 #include <mruby/debug.h> 15 15 16 16 #define LINE_BUF_SIZE MAX_COMMAND_LINE … … 72 72 73 73 p = strrchr(path, '/'); 74 len = p != NULL ? p - path: strlen(path);74 len = p != NULL ? (size_t)(p - path) : strlen(path); 75 75 76 76 dir = mrb_malloc(mrb, len + 1);
Note:
See TracChangeset
for help on using the changeset viewer.