diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-21 17:19:33 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-21 17:19:33 +0100 |
commit | 61f5487c6edc6227053b24ed95a6a61d9bc100db (patch) | |
tree | 25341c2661fe75194d722b42c9047f6afdb44e3e /src | |
parent | Trying the float method (diff) | |
download | 42-cub3d-61f5487c6edc6227053b24ed95a6a61d9bc100db.tar.gz 42-cub3d-61f5487c6edc6227053b24ed95a6a61d9bc100db.tar.bz2 42-cub3d-61f5487c6edc6227053b24ed95a6a61d9bc100db.tar.xz 42-cub3d-61f5487c6edc6227053b24ed95a6a61d9bc100db.tar.zst 42-cub3d-61f5487c6edc6227053b24ed95a6a61d9bc100db.zip |
Trying the malloc method
Diffstat (limited to 'src')
-rw-r--r-- | src/ft_draw_life_bar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ft_draw_life_bar.c b/src/ft_draw_life_bar.c index 42127d4..4fd8a84 100644 --- a/src/ft_draw_life_bar.c +++ b/src/ft_draw_life_bar.c @@ -27,8 +27,8 @@ static void ft_put_percent_image(uint16_t h, uint16_t w, t_cub *cl) { - float x_ratio; - float y_ratio; + int32_t x_ratio; + int32_t y_ratio; int16_t x; int16_t y; const int16_t scl = cl->mlist.scale; |