Skip to content

Commit

Permalink
tweak: Suppressed compiler warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
lovyan03 committed Oct 9, 2020
1 parent 7e2f486 commit 2993a6a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Fonts/lgfx_fonts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -580,8 +580,8 @@ namespace lgfx
u8g2_font_decode_t decode(getGlyph(uniCode));
if ( decode.decode_ptr == nullptr ) return 0;

std::int32_t w = decode.get_unsigned_bits(bits_per_char_width());
std::int32_t h = decode.get_unsigned_bits(bits_per_char_height());
std::uint32_t w = decode.get_unsigned_bits(bits_per_char_width());
std::uint32_t h = decode.get_unsigned_bits(bits_per_char_height());

auto font_metrics = gfx->_get_font_metrics();
float sx = style->size_x;
Expand Down Expand Up @@ -637,8 +637,8 @@ namespace lgfx
}
left -= x;
std::uint32_t ab[2];
std::int32_t lx = 0;
std::int32_t ly = 0;
std::uint32_t lx = 0;
std::uint32_t ly = 0;
std::int32_t y0 = (yoffset ) * sy;
std::int32_t y1 = (yoffset + 1) * sy;
do
Expand Down

0 comments on commit 2993a6a

Please sign in to comment.