mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:28:11 +00:00
Switch over to building everything with i686-elf-g++.
This commit is contained in:
parent
afa6f88039
commit
75b100673f
17 changed files with 58 additions and 75 deletions
|
@ -120,7 +120,7 @@ bool Font::write_to_file(const String& path)
|
|||
header.glyph_width = m_glyph_width;
|
||||
header.glyph_height = m_glyph_height;
|
||||
header.type = 0;
|
||||
memcpy(header.name, m_name.characters(), min(m_name.length(), 63u));
|
||||
memcpy(header.name, m_name.characters(), min(m_name.length(), (size_t)63));
|
||||
|
||||
size_t bytes_per_glyph = sizeof(unsigned) * m_glyph_height;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue