1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 23:37:36 +00:00

LibGfx: Use size_t instead of int for glyph count

The count is always non-negative
This commit is contained in:
Idan Horowitz 2021-04-18 22:11:41 +03:00 committed by Andreas Kling
parent c1971df4c7
commit 3c894d1e6f
3 changed files with 3 additions and 3 deletions

View file

@ -107,7 +107,7 @@ public:
m_glyph_widths[ch] = width;
}
int glyph_count() const { return m_glyph_count; }
size_t glyph_count() const { return m_glyph_count; }
FontTypes type() { return m_type; }
void set_type(FontTypes type);