enlightenment - removed warnings.

devs/discomfitor/eo
ChunEon Park 9 years ago
parent e757c67b31
commit 7474036140
  1. 10
      src/bin/e_auth.c
  2. 3
      src/bin/e_comp_x.c
  3. 4
      src/bin/e_randr.c
  4. 3
      src/modules/conf_randr/e_int_config_randr.c

@ -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)

@ -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)

@ -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;

@ -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 */

Loading…
Cancel
Save