diff --git a/legacy/ecore/src/bin/ecore_evas_test_app.c b/legacy/ecore/src/bin/ecore_evas_test_app.c index f1660eba38..e1d58d20a6 100644 --- a/legacy/ecore/src/bin/ecore_evas_test_app.c +++ b/legacy/ecore/src/bin/ecore_evas_test_app.c @@ -15,7 +15,8 @@ static void app_delete_request(Ecore_Evas *ee); static int getpix_cb(void *data) { - int *pix, p; + const int *pix; + int p; int w, h; FILE *f; int x, y; diff --git a/legacy/ecore/src/lib/ecore_dbus/ecore_dbus.c b/legacy/ecore/src/lib/ecore_dbus/ecore_dbus.c index 98ab05b56f..d222898b27 100644 --- a/legacy/ecore/src/lib/ecore_dbus/ecore_dbus.c +++ b/legacy/ecore/src/lib/ecore_dbus/ecore_dbus.c @@ -898,7 +898,7 @@ _ecore_dbus_getuid(void) char *tmp; tmp = (char *)malloc(MAX_LONG_LEN); - len = snprintf(tmp, MAX_LONG_LEN, "%ld", getuid()); + len = snprintf(tmp, MAX_LONG_LEN, "%ld", (long) getuid()); uid = (char *)malloc(len + 1); uid = memcpy(uid, tmp, len); uid[len] = '\0'; @@ -1168,7 +1168,7 @@ _ecore_dbus_event_server_data(void *udata, int ev_type, void *ev) /***************************/ if (!svr->authenticated) { - Ecore_DBus_Auth *auth; + const Ecore_DBus_Auth *auth; Ecore_DBus_Auth_Transaction trans; if (!strncmp(e->data, "OK", 2)) diff --git a/legacy/ecore/src/lib/ecore_x/ecore_x.c b/legacy/ecore/src/lib/ecore_x/ecore_x.c index 8a812459be..3b7893a630 100644 --- a/legacy/ecore/src/lib/ecore_x/ecore_x.c +++ b/legacy/ecore/src/lib/ecore_x/ecore_x.c @@ -1384,7 +1384,7 @@ ecore_x_window_button_ungrab(Ecore_X_Window win, int button, unsigned int b; unsigned int m; unsigned int locks[8]; - int i, shuffle = 0, found = 0; + int i, shuffle = 0; b = button; if (b == 0) b = AnyButton;