Fix /W3 warnings in examples
This commit is contained in:
1 parent
8714de9f46
commit
00b59c96f1
2 files changed
+3
-3
No files matched your search
@@ -72,8 +72,8 @@ static int handle_key_event_(SnakeContext *ctx, SDL_Scancode key_code)
|
||||
|
||||
static void set_rect_xy_(SDL_FRect *r, short x, short y)
|
||||
{
|
||||
r->x = x * SNAKE_BLOCK_SIZE_IN_PIXELS;
|
||||
r->y = y * SNAKE_BLOCK_SIZE_IN_PIXELS;
|
||||
r->x = (float)(x * SNAKE_BLOCK_SIZE_IN_PIXELS);
|
||||
r->y = (float)(y * SNAKE_BLOCK_SIZE_IN_PIXELS);
|
||||
}
|
||||
|
||||
int SDL_AppIterate(void *appstate)
|
||||
|
||||
Reference in new issue
Block a user