enlightenment - removed warnings.

This commit is contained in:
ChunEon Park 2014-01-18 19:37:02 +09:00
parent e757c67b31
commit 7474036140
4 changed files with 14 additions and 6 deletions

View File

@ -131,9 +131,9 @@ _auth_pam_init(E_Auth *da)
#endif
EAPI int
#ifdef HAVE_PAM
e_auth_begin(char *passwd)
{
#ifdef HAVE_PAM
/* child */
int pamerr;
E_Auth da;
@ -180,9 +180,15 @@ e_auth_begin(char *passwd)
}
free(current_user);
exit(-1);
#endif
return 0;
}
#else
e_auth_begin(char *passwd EINA_UNUSED)
{
return 0;
}
#endif
EAPI char *
e_auth_hostname_get(void)

View File

@ -101,6 +101,7 @@ _e_comp_x_client_event_free(void *d EINA_UNUSED, void *e)
free(ev);
}
/*
static void
_e_comp_x_print_win(Ecore_X_Window win)
{
@ -111,7 +112,7 @@ _e_comp_x_print_win(Ecore_X_Window win)
vis = ecore_x_window_visible_get(win);
fprintf(stderr, "%s 0x%x: %d,%d @ %dx%d\n", vis ? "VIS" : "HID", win, x, y, w, h);
}
*/
static void
_e_comp_x_focus_setup(E_Client *ec)

View File

@ -807,8 +807,8 @@ _e_randr_config_output_mode_update(E_Randr_Output_Config *cfg)
{
for (i = 0; i < nmode_infos; i++)
{
if ((mode_infos[i]->width == cfg->geo.w) &&
(mode_infos[i]->height == cfg->geo.h))
if ((mode_infos[i]->width == (unsigned int)cfg->geo.w) &&
(mode_infos[i]->height == (unsigned int)cfg->geo.h))
{
cfg->mode = mode_infos[i]->xid;
break;

View File

@ -9,7 +9,8 @@ struct _E_Config_Dialog_Data
{
Evas_Object *o_randr;
int restore, primary;
unsigned char restore;
unsigned int primary;
};
/* local function prototypes */