Fix types · matplotlib/matplotlib@fcc6837 · GitHub
Skip to content

Commit fcc6837

Browse files
committed
Fix types
1 parent a9dd8b9 commit fcc6837

3 files changed

Lines changed: 9 additions & 13 deletions

File tree

‎src/_path.h‎

Lines changed: 4 additions & 8 deletions

‎src/ft2font.cpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -551,8 +551,8 @@ void FT2Font::get_bitmap_offset(long *x, long *y)
551551

552552
void FT2Font::draw_glyphs_to_bitmap(bool antialiased)
553553
{
554-
size_t width = (bbox.xMax - bbox.xMin) / 64 + 2;
555-
size_t height = (bbox.yMax - bbox.yMin) / 64 + 2;
554+
long width = (bbox.xMax - bbox.xMin) / 64 + 2;
555+
long height = (bbox.yMax - bbox.yMin) / 64 + 2;
556556

557557
image.resize(width, height);
558558

‎src/ft2font_wrapper.cpp‎

Lines changed: 3 additions & 3 deletions

0 commit comments

Comments
 (0)