Skip to content

Commit

Permalink
Fix Windows clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisduerr committed Oct 28, 2024
1 parent 0870afa commit f934f84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/directwrite/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ impl DirectWriteRasterizer {

Ok(RasterizedGlyph {
character,
width: (bounds.right - bounds.left) as i32,
height: (bounds.bottom - bounds.top) as i32,
width: bounds.right - bounds.left,
height: bounds.bottom - bounds.top,
top: -bounds.top,
left: bounds.left,
advance: (0, 0),
Expand Down

0 comments on commit f934f84

Please sign in to comment.