summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dransfeld <sd@tango.flipp.net>2009-11-08 19:52:44 +0000
committerSebastian Dransfeld <sd@tango.flipp.net>2009-11-08 19:52:44 +0000
commit48eec51e60b0fc58edcbf376fe8e8b4d17f13787 (patch)
treeea451a4e261e0c6279e156ec4960a0522f88a480
parenta60aeb07a3964d31e0f6d9d97b8c742c4d43f803 (diff)
Fix compiler warnings
SVN revision: 43536
-rw-r--r--legacy/evas/src/bin/evas_cserve_main.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/legacy/evas/src/bin/evas_cserve_main.c b/legacy/evas/src/bin/evas_cserve_main.c
index 15d2739452..eaef3f5e48 100644
--- a/legacy/evas/src/bin/evas_cserve_main.c
+++ b/legacy/evas/src/bin/evas_cserve_main.c
@@ -119,7 +119,6 @@ static int cache_item_timeout = -1;
119static int cache_item_timeout_check = -1; 119static int cache_item_timeout_check = -1;
120static Mem *stat_mem = NULL; 120static Mem *stat_mem = NULL;
121static int _evas_cserve_bin_log_dom = -1; 121static int _evas_cserve_bin_log_dom = -1;
122static int stat_mem_num = 0;
123static Eina_List *stat_mems = NULL; 122static Eina_List *stat_mems = NULL;
124 123
125static void cache_clean(void); 124static void cache_clean(void);
@@ -976,7 +975,7 @@ message(void *fdata, Server *s, Client *c, int opcode, int size, unsigned char *
976 Op_Load *rep; 975 Op_Load *rep;
977 Op_Load_Reply msg; 976 Op_Load_Reply msg;
978 Img *img; 977 Img *img;
979 RGBA_Image_Loadopts lopt = {0, 0.0, 0, 0, 0, 0, 0, 0}; 978 RGBA_Image_Loadopts lopt = {0, 0.0, 0, 0, {0, 0, 0, 0}};
980 char *file = NULL, *key = NULL; 979 char *file = NULL, *key = NULL;
981 980
982 DBG("OP_LOAD %i", c->pid); 981 DBG("OP_LOAD %i", c->pid);
@@ -1368,7 +1367,7 @@ message(void *fdata, Server *s, Client *c, int opcode, int size, unsigned char *
1368 DBG("... memcpy %p %p %i ", 1367 DBG("... memcpy %p %p %i ",
1369 itt, &it, sizeof(Op_Getinfo_Item)); 1368 itt, &it, sizeof(Op_Getinfo_Item));
1370 memcpy(itt, &it, sizeof(Op_Getinfo_Item)); 1369 memcpy(itt, &it, sizeof(Op_Getinfo_Item));
1371 DBG("... memcpy done n", img); 1370 DBG("... memcpy done %p", img);
1372 p += sizeof(Op_Getinfo_Item) + it.file_key_size; 1371 p += sizeof(Op_Getinfo_Item) + it.file_key_size;
1373 LKU(img->lock); 1372 LKU(img->lock);
1374 } 1373 }
@@ -1439,7 +1438,7 @@ parse_args(int argc, char **argv)
1439 } 1438 }
1440} 1439}
1441 1440
1442static exit_flag = 0; 1441static int exit_flag = 0;
1443 1442
1444static void 1443static void
1445exit_handler(int x, siginfo_t *info, void *data) 1444exit_handler(int x, siginfo_t *info, void *data)