Compiler warnings.

SVN revision: 14730
This commit is contained in:
sebastid 2005-05-12 13:56:30 +00:00 committed by sebastid
parent afc500f550
commit e61b2b515a
3 changed files with 51 additions and 49 deletions

View File

@ -41,6 +41,9 @@ static int
_e_focus_cb_window_focus_in(void *data, int ev_type, void *ev)
{
Ecore_X_Event_Window_Focus_In *e;
e = ev;
#if 0
const char *modes[] = {
"ECORE_X_EVENT_MODE_NORMAL",
"ECORE_X_EVENT_MODE_WHILE_GRABBED",
@ -58,8 +61,6 @@ _e_focus_cb_window_focus_in(void *data, int ev_type, void *ev)
"ECORE_X_EVENT_DETAIL_DETAIL_NONE"
};
e = ev;
#if 0
if (e_border_find_by_client_window(e->win))
{
printf("BI 0x%x md=%s dt=%s\n",
@ -82,6 +83,9 @@ static int
_e_focus_cb_window_focus_out(void *data, int ev_type, void *ev)
{
Ecore_X_Event_Window_Focus_Out *e;
e = ev;
#if 0
const char *modes[] = {
"ECORE_X_EVENT_MODE_NORMAL",
"ECORE_X_EVENT_MODE_WHILE_GRABBED",
@ -99,8 +103,6 @@ _e_focus_cb_window_focus_out(void *data, int ev_type, void *ev)
"ECORE_X_EVENT_DETAIL_DETAIL_NONE"
};
e = ev;
#if 0
if (e_border_find_by_client_window(e->win))
{
printf("BO 0x%x md=%s dt=%s\n",

View File

@ -634,7 +634,7 @@ _e_ipc_path_str_get(char **paths, int *bytes)
static char *
_e_ipc_str_list_get(Evas_List *strs, int *bytes)
{
char *data = NULL, **cur;
char *data = NULL;
int pos = 0;
Evas_List *l;

View File

@ -564,7 +564,7 @@ _e_ipc_cb_server_data(void *data, int type, void *event)
case E_IPC_OP_BG_GET_REPLY:
if (e->data)
{
printf("REPLY: %s\n", e->data);
printf("REPLY: %s\n", (char *)e->data);
}
break;
case E_IPC_OP_BG_DIRS_LIST_REPLY:
@ -660,7 +660,7 @@ _e_ipc_cb_server_data(void *data, int type, void *event)
Evas_List *l;
for (l = langs; l; l = l->next)
printf("REPLY: LANG=\"%s\"\n", l->data);
printf("REPLY: LANG=\"%s\"\n", (char *)l->data);
evas_list_free(langs);
}
}
@ -670,7 +670,7 @@ _e_ipc_cb_server_data(void *data, int type, void *event)
case E_IPC_OP_LANG_GET_REPLY:
if (e->data)
{
printf("REPLY: %s\n", e->data);
printf("REPLY: %s\n", (char *)e->data);
}
break;
case E_IPC_OP_BINDING_MOUSE_LIST_REPLY: