Skip to content

Commit

Permalink
Resolve -Wformat warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jonclayden committed Dec 4, 2023
1 parent c856df1 commit 8f3d580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/match.c
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ SEXP ore_search_all (SEXP regex_, SEXP text_, SEXP all_, SEXP start_, SEXP simpl
}
else if (!ore_consistent_encodings(text_element->encoding->onig_enc, regex->enc))
{
warning("Encoding of text element %d does not match the regex", i+1);
warning("Encoding of text element %lu does not match the regex", (unsigned long) i+1);
SET_ELEMENT(results, i, R_NilValue);
continue;
}
Expand Down

0 comments on commit 8f3d580

Please sign in to comment.