чување da394a98e43e7bca983b16130e399f2ddc7985ae
родитељ 41ca502c174e8892c40c352d4c739765428f208e
Аутор: Страхиња Радић <sr@strahinja.org>
Датум: Tue, 25 Aug 2026 16:37:20 +0000
linije.c: Remove redundant casts
Diffstat:
измењених датотека: 1, додавања: 4(+), брисања: 4(-)
diff --git a/linije.c b/linije.c
@@ -360,8 +360,8 @@ void
assign_pointFF(const SDL_FPoint* from, SDL_FPoint* to)
{
assert((from != NULL) && (to != NULL));
- to->x = (float)from->x;
- to->y = (float)from->y;
+ to->x = from->x;
+ to->y = from->y;
}
void
@@ -384,8 +384,8 @@ void
assign_point_xyII(const int x, const int y, SDL_Point* to)
{
assert(to != NULL);
- to->x = (float)x;
- to->y = (float)y;
+ to->x = x;
+ to->y = y;
}
void