Silence spurious warning from Clang ASAN

This commit is contained in:
Kovid Goyal 2024-07-15 22:05:48 +05:30
parent 24e6dda0bc
commit 4c5ec4a018
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -460,7 +460,7 @@ calc_cell_metrics(FontGroup *fg) {
}
static bool
face_has_codepoint(const PyObject* face, char_type cp) {
face_has_codepoint(const void* face, char_type cp) {
return glyph_id_for_codepoint(face, cp) > 0;
}