diff --git a/legacy/evas/src/modules/engines/software_ddraw/evas_ddraw_main.cpp b/legacy/evas/src/modules/engines/software_ddraw/evas_ddraw_main.cpp index bf99b9c549..2c467c88ac 100644 --- a/legacy/evas/src/modules/engines/software_ddraw/evas_ddraw_main.cpp +++ b/legacy/evas/src/modules/engines/software_ddraw/evas_ddraw_main.cpp @@ -38,7 +38,7 @@ evas_software_ddraw_init (HWND window, pixel_format.dwSize = sizeof(pixel_format); buf->priv.dd.surface_primary->GetPixelFormat(&pixel_format); - if (pixel_format.dwRGBBitCount != depth) + if (pixel_format.dwRGBBitCount != (DWORD)depth) goto release_object; buf->priv.dd.depth = depth; @@ -114,7 +114,7 @@ evas_software_ddraw_init (HWND window, pixel_format.dwSize = sizeof(pixel_format); buf->priv.dd.surface_primary->GetPixelFormat(&pixel_format); - if (pixel_format.dwRGBBitCount != depth) + if (pixel_format.dwRGBBitCount != (DWORD)depth) goto release_surface_back; buf->priv.dd.depth = depth; diff --git a/legacy/evas/src/modules/engines/software_ddraw/evas_outbuf.c b/legacy/evas/src/modules/engines/software_ddraw/evas_outbuf.c index ce4590732c..5a5f0a289a 100644 --- a/legacy/evas/src/modules/engines/software_ddraw/evas_outbuf.c +++ b/legacy/evas/src/modules/engines/software_ddraw/evas_outbuf.c @@ -281,7 +281,7 @@ evas_software_ddraw_outbuf_push_updated_region(Outbuf *buf, Outbuf_Region *obr; DATA32 *src_data; void *data; - int bpl = 0, yy; + int bpl = 0; conv_func = NULL; obr = update->extended_info;