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:
parent
c1971df4c7
commit
3c894d1e6f
3 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue