diff options
Diffstat (limited to 'tools/re2c/mbo_getopt.c')
-rwxr-xr-x | tools/re2c/mbo_getopt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/re2c/mbo_getopt.c b/tools/re2c/mbo_getopt.c index f4553dc..47d3822 100755 --- a/tools/re2c/mbo_getopt.c +++ b/tools/re2c/mbo_getopt.c @@ -94,7 +94,7 @@ int mbo_getopt(int argc, char* const *argv, const mbo_opt_struct opts[], char ** optchr = 0; dash = 1; - arg_start = 2 + strlen(opts[opts_idx].opt_name); + arg_start = 2 + (int) strlen(opts[opts_idx].opt_name); } if (!dash) |