diff --git a/src/bin/e_auth.c b/src/bin/e_auth.c index 27abf51c1..356be0a88 100644 --- a/src/bin/e_auth.c +++ b/src/bin/e_auth.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) diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c index 8a157c771..802fdf841 100644 --- a/src/bin/e_comp_x.c +++ b/src/bin/e_comp_x.c @@ -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) diff --git a/src/bin/e_randr.c b/src/bin/e_randr.c index 24533726f..73f3b41b1 100644 --- a/src/bin/e_randr.c +++ b/src/bin/e_randr.c @@ -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; diff --git a/src/modules/conf_randr/e_int_config_randr.c b/src/modules/conf_randr/e_int_config_randr.c index 885e403e5..44cce14fb 100644 --- a/src/modules/conf_randr/e_int_config_randr.c +++ b/src/modules/conf_randr/e_int_config_randr.c @@ -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 */