diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-02-22 10:45:32 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-02-22 10:45:32 +0100 |
commit | 75b100673fb721eda824372ddee0d7417410c00e (patch) | |
tree | b1ba99e8b18463e2de14a455af4f8c6980486080 /SharedGraphics | |
parent | afa6f88039b7466151d56650c528dc95009c14aa (diff) | |
download | serenity-75b100673fb721eda824372ddee0d7417410c00e.zip |
Switch over to building everything with i686-elf-g++.
Diffstat (limited to 'SharedGraphics')
-rw-r--r-- | SharedGraphics/Font.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SharedGraphics/Font.cpp b/SharedGraphics/Font.cpp index 2dd0a1b2a8..3b68b6d6f6 100644 --- a/SharedGraphics/Font.cpp +++ b/SharedGraphics/Font.cpp @@ -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; |