diff --git a/fast64_internal/sm64/c_templates/tile_scroll.py b/fast64_internal/sm64/c_templates/tile_scroll.py index 6fa1adb69..d85c58532 100644 --- a/fast64_internal/sm64/c_templates/tile_scroll.py +++ b/fast64_internal/sm64/c_templates/tile_scroll.py @@ -13,28 +13,28 @@ */ void shift_s(Gfx *dl, u32 cmd, u16 s) { - SetTileSize *tile = dl; + SetTileSize *tile = (SetTileSize *) dl; tile += cmd; tile->s += s; tile->u += s; } void shift_t(Gfx *dl, u32 cmd, u16 t) { - SetTileSize *tile = dl; + SetTileSize *tile = (SetTileSize *) dl; tile += cmd; tile->t += t; tile->v += t; } void shift_s_down(Gfx *dl, u32 cmd, u16 s) { - SetTileSize *tile = dl; + SetTileSize *tile = (SetTileSize *) dl; tile += cmd; tile->s -= s; tile->u += s; } void shift_t_down(Gfx *dl, u32 cmd, u16 t) { - SetTileSize *tile = dl; + SetTileSize *tile = (SetTileSize *) dl; tile += cmd; tile->t -= t; tile->v += t;