diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-02-25 22:06:55 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-02-25 22:06:55 +0100 |
commit | 9624b54703f87a690dab7d5c59c37f53ad47594e (patch) | |
tree | 6c12fca22fea816236585e850916efd3535c37b9 /Applications/FontEditor | |
parent | beda4788216509fdf846e5bb6f6000b8b542ca11 (diff) | |
download | serenity-9624b54703f87a690dab7d5c59c37f53ad47594e.zip |
More moving towards using signed types.
I'm still feeling this out, but I am starting to like the general idea.
Diffstat (limited to 'Applications/FontEditor')
-rw-r--r-- | Applications/FontEditor/FontEditor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Applications/FontEditor/FontEditor.cpp b/Applications/FontEditor/FontEditor.cpp index 1fd1431762..33670a0229 100644 --- a/Applications/FontEditor/FontEditor.cpp +++ b/Applications/FontEditor/FontEditor.cpp @@ -227,8 +227,8 @@ void GlyphEditorWidget::draw_at_mouse(const GMouseEvent& event) int x = (event.x() - 1) / m_scale; int y = (event.y() - 1) / m_scale; auto bitmap = font().glyph_bitmap(m_glyph); - ASSERT((unsigned)x < bitmap.width()); - ASSERT((unsigned)y < bitmap.height()); + ASSERT(x < bitmap.width()); + ASSERT(y < bitmap.height()); if (bitmap.bit_at(x, y) == set) return; bitmap.set_bit_at(x, y, set); |