Fix compiler warnings

SVN revision: 45183
This commit is contained in:
Sebastian Dransfeld 2010-01-15 12:01:40 +00:00
parent 6a6d1eab77
commit f67a69f161
1 changed files with 5 additions and 5 deletions

View File

@ -271,7 +271,7 @@ _e_thumb_generate(E_Thumb *eth)
Evas_Object *im = NULL, *edje = NULL;
Eet_File *ef;
int iw, ih, alpha, ww, hh;
unsigned int *data = NULL;
const unsigned int *data = NULL;
time_t mtime_orig, mtime_thumb;
id = _e_thumb_file_id(eth->file, eth->key);
@ -360,7 +360,7 @@ _e_thumb_generate(E_Thumb *eth)
evas_object_show(im);
if (ww > 0)
{
data = (int *)ecore_evas_buffer_pixels_get(ee);
data = ecore_evas_buffer_pixels_get(ee);
if (data)
{
ef = eet_open(buf, EET_FILE_MODE_WRITE);
@ -378,7 +378,7 @@ _e_thumb_generate(E_Thumb *eth)
evas_object_image_fill_set(im, 0, 0, ww, hh);
evas_object_resize(im, ww, hh);
ecore_evas_resize(ee, ww, hh);
data = (int *)ecore_evas_buffer_pixels_get(ee);
data = ecore_evas_buffer_pixels_get(ee);
if (data)
{
unsigned int *data1;
@ -389,7 +389,7 @@ _e_thumb_generate(E_Thumb *eth)
evas_object_image_fill_set(im, 0, 0, ww, hh);
evas_object_resize(im, ww, hh);
ecore_evas_resize(ee, ww, hh);
data = (int *)ecore_evas_buffer_pixels_get(ee);
data = ecore_evas_buffer_pixels_get(ee);
if (data)
{
unsigned int *data2;
@ -400,7 +400,7 @@ _e_thumb_generate(E_Thumb *eth)
evas_object_image_fill_set(im, 0, 0, ww, hh);
evas_object_resize(im, ww, hh);
ecore_evas_resize(ee, ww, hh);
data = (int *)ecore_evas_buffer_pixels_get(ee);
data = ecore_evas_buffer_pixels_get(ee);
if (data)
{
unsigned int *data3;