Skip to content

Commit

Permalink
escape warning of VisualStudio 2019
Browse files Browse the repository at this point in the history
  • Loading branch information
kkos committed Mar 21, 2021
1 parent 65e028b commit 55e707e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/regexec.c
Original file line number Diff line number Diff line change
Expand Up @@ -6649,7 +6649,7 @@ onig_builtin_monitor(OnigCalloutArgs* args, void* user_data)

tag_len = tag_end - tag_start;
if (tag_len >= sizeof(buf)) tag_len = sizeof(buf) - 1;
for (i = 0; i < tag_len; i++) buf[i] = tag_start[i];
for (i = 0; i < (int )tag_len; i++) buf[i] = tag_start[i];
buf[tag_len] = '\0';
}

Expand Down

0 comments on commit 55e707e

Please sign in to comment.