Skip to content

Commit

Permalink
Merge pull request #5 from Gadgetoid/patch-implicit-cast-errors
Browse files Browse the repository at this point in the history
Fix narrowing conversion errors.
  • Loading branch information
lowfatcode authored Nov 1, 2023
2 parents d2687ce + a35f0c1 commit 869ca15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pretty-poly.h
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ void pp_render(pp_poly_t *polygon) {

pp_tile_t tile = {
.x = tb.x, .y = tb.y, .w = tb.w, .h = tb.h,
.stride = _pp_tile_width,
.stride = (uint32_t)_pp_tile_width,
.data = tile_buffer + rb.x + _pp_tile_width * rb.y
};

Expand Down

0 comments on commit 869ca15

Please sign in to comment.