warnings--

SVN revision: 55496
This commit is contained in:
Vincent Torri 2010-12-11 13:17:26 +00:00
parent 2ce2e79087
commit 2e0a136385
2 changed files with 3 additions and 3 deletions

View File

@ -38,7 +38,7 @@ evas_software_ddraw_init (HWND window,
pixel_format.dwSize = sizeof(pixel_format); pixel_format.dwSize = sizeof(pixel_format);
buf->priv.dd.surface_primary->GetPixelFormat(&pixel_format); buf->priv.dd.surface_primary->GetPixelFormat(&pixel_format);
if (pixel_format.dwRGBBitCount != depth) if (pixel_format.dwRGBBitCount != (DWORD)depth)
goto release_object; goto release_object;
buf->priv.dd.depth = depth; buf->priv.dd.depth = depth;
@ -114,7 +114,7 @@ evas_software_ddraw_init (HWND window,
pixel_format.dwSize = sizeof(pixel_format); pixel_format.dwSize = sizeof(pixel_format);
buf->priv.dd.surface_primary->GetPixelFormat(&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; goto release_surface_back;
buf->priv.dd.depth = depth; buf->priv.dd.depth = depth;

View File

@ -281,7 +281,7 @@ evas_software_ddraw_outbuf_push_updated_region(Outbuf *buf,
Outbuf_Region *obr; Outbuf_Region *obr;
DATA32 *src_data; DATA32 *src_data;
void *data; void *data;
int bpl = 0, yy; int bpl = 0;
conv_func = NULL; conv_func = NULL;
obr = update->extended_info; obr = update->extended_info;