# HG changeset patch # User Matti Hamalainen # Date 1701248867 -7200 # Node ID 570ad268b72122772a6b6459567a1c6b3ce4e763 # Parent ad18774054e32a6cfff323106428299d428facf4 Constify. diff -r ad18774054e3 -r 570ad268b721 tools/fontconv.c --- a/tools/fontconv.c Wed Nov 29 11:07:00 2023 +0200 +++ b/tools/fontconv.c Wed Nov 29 11:07:47 2023 +0200 @@ -252,10 +252,10 @@ // Write the glyph data for (int index = 0; index < font->maxglyph; index++) { - DMBitmapGlyph *glyph = &font->glyphMap[index]; + const DMBitmapGlyph *glyph = &font->glyphMap[index]; if (glyph->index >= 0) { - Uint8 *pixels = (Uint8 *) font->glyphs->pixels + font->gsize * glyph->index; + const Uint8 *pixels = (Uint8 *) font->glyphs->pixels + font->gsize * glyph->index; // Each glyph has its table index and w/h stored if (!dmf_write_le16(fp, index) ||