hermet pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=747403614046ae392004118fa6497dc523125947
commit 747403614046ae392004118fa6497dc523125947 Author: ChunEon Park <[email protected]> Date: Sat Jan 18 19:37:02 2014 +0900 enlightenment - removed warnings. --- src/bin/e_auth.c | 10 ++++++++-- src/bin/e_comp_x.c | 3 ++- src/bin/e_randr.c | 4 ++-- src/modules/conf_randr/e_int_config_randr.c | 3 ++- 4 files changed, 14 insertions(+), 6 deletions(-) diff --git a/src/bin/e_auth.c b/src/bin/e_auth.c index 27abf51..356be0a 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 8a157c7..802fdf8 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 2453372..73f3b41 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 885e403..44cce14 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 */ --
