Skip to content

Commit 70bb4c6

Browse files
committed
CXX_BUILD - silence some warnings
1 parent 8b4a411 commit 70bb4c6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

gfx/drivers/sdl_gfx.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,10 @@ static void sdl_update_scaler(SDL_Surface *surf, struct scaler_ctx *scaler,
8888
unsigned height, unsigned pitch)
8989
{
9090
if (
91-
width != scaler->in_width
92-
|| height != scaler->in_height
91+
width != (unsigned)scaler->in_width
92+
|| height != (unsigned)scaler->in_height
9393
|| format != scaler->in_fmt
94-
|| pitch != scaler->in_stride
94+
|| pitch != (unsigned)scaler->in_stride
9595
)
9696
{
9797
scaler->in_fmt = format;

0 commit comments

Comments
 (0)