X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=src%2Fparser_proc_grammar.y;h=cd828e63861748e0a3710336c4e8e562d5f2b438;hp=c076abd0e5a630f1db8c78e2fd5fd5d10a144a8c;hb=fb8f7887c289ae74d6e8dd85d55ae09e6796e890;hpb=f76cbab7698c988217d56a96f3ef68005cddd5ec diff --git a/src/parser_proc_grammar.y b/src/parser_proc_grammar.y index c076abd..cd828e6 100644 --- a/src/parser_proc_grammar.y +++ b/src/parser_proc_grammar.y @@ -2321,7 +2321,7 @@ static void psi_parser_proc_error(struct psi_parser *P, struct psi_plist *tokens psi_plist_get(tokens, last, &T); if (T) { - int i = (last >= 5) ? last - 5 : 0; + size_t i = (last >= 5) ? last - 5 : 0; P->error(PSI_DATA(P), T, PSI_WARNING, "PSI %s at col %u", msg, T->col); while (i <= last || T->type != PSI_T_EOS) {