summaryrefslogtreecommitdiff
path: root/SharedGraphics
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-02-22 10:45:32 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-02-22 10:45:32 +0100
commit75b100673fb721eda824372ddee0d7417410c00e (patch)
treeb1ba99e8b18463e2de14a455af4f8c6980486080 /SharedGraphics
parentafa6f88039b7466151d56650c528dc95009c14aa (diff)
downloadserenity-75b100673fb721eda824372ddee0d7417410c00e.zip
Switch over to building everything with i686-elf-g++.
Diffstat (limited to 'SharedGraphics')
-rw-r--r--SharedGraphics/Font.cpp2
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;