summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2010-12-11 13:17:26 +0000
committerVincent Torri <vincent.torri@gmail.com>2010-12-11 13:17:26 +0000
commit2e0a136385bd3c794e845c58192142d008af3928 (patch)
tree78a91df6da8b301b27f561ce4b68c35a5a1cf3ee /legacy
parent2ce2e79087b0940514a776aa7ac788bcbbf9aaff (diff)
warnings--
SVN revision: 55496
Diffstat (limited to 'legacy')
-rw-r--r--legacy/evas/src/modules/engines/software_ddraw/evas_ddraw_main.cpp4
-rw-r--r--legacy/evas/src/modules/engines/software_ddraw/evas_outbuf.c2
2 files changed, 3 insertions, 3 deletions
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,
38 pixel_format.dwSize = sizeof(pixel_format); 38 pixel_format.dwSize = sizeof(pixel_format);
39 buf->priv.dd.surface_primary->GetPixelFormat(&pixel_format); 39 buf->priv.dd.surface_primary->GetPixelFormat(&pixel_format);
40 40
41 if (pixel_format.dwRGBBitCount != depth) 41 if (pixel_format.dwRGBBitCount != (DWORD)depth)
42 goto release_object; 42 goto release_object;
43 43
44 buf->priv.dd.depth = depth; 44 buf->priv.dd.depth = depth;
@@ -114,7 +114,7 @@ evas_software_ddraw_init (HWND window,
114 pixel_format.dwSize = sizeof(pixel_format); 114 pixel_format.dwSize = sizeof(pixel_format);
115 buf->priv.dd.surface_primary->GetPixelFormat(&pixel_format); 115 buf->priv.dd.surface_primary->GetPixelFormat(&pixel_format);
116 116
117 if (pixel_format.dwRGBBitCount != depth) 117 if (pixel_format.dwRGBBitCount != (DWORD)depth)
118 goto release_surface_back; 118 goto release_surface_back;
119 119
120 buf->priv.dd.depth = depth; 120 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,
281 Outbuf_Region *obr; 281 Outbuf_Region *obr;
282 DATA32 *src_data; 282 DATA32 *src_data;
283 void *data; 283 void *data;
284 int bpl = 0, yy; 284 int bpl = 0;
285 285
286 conv_func = NULL; 286 conv_func = NULL;
287 obr = update->extended_info; 287 obr = update->extended_info;