This patch fixes some warnings in ecore_dbus and ecore_x.
diff -ru ecore.orig/src/bin/ecore_evas_test_app.c ecore/src/bin/ecore_evas_test_app.c --- ecore.orig/src/bin/ecore_evas_test_app.c 2005-05-22 00:07:21.000000000 +0200 +++ ecore/src/bin/ecore_evas_test_app.c 2005-05-22 00:19:45.000000000 +0200 @@ -15,7 +15,8 @@ static int getpix_cb(void *data) { - int *pix, p; + const int *pix; + int p; int w, h; FILE *f; int x, y; diff -ru ecore.orig/src/lib/ecore_dbus/ecore_dbus.c ecore/src/lib/ecore_dbus/ecore_dbus.c --- ecore.orig/src/lib/ecore_dbus/ecore_dbus.c 2005-05-22 00:07:21.000000000 +0200 +++ ecore/src/lib/ecore_dbus/ecore_dbus.c 2005-05-22 00:18:24.000000000 +0200 @@ -898,7 +898,7 @@ 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 @@ /***************************/ if (!svr->authenticated) { - Ecore_DBus_Auth *auth; + const Ecore_DBus_Auth *auth; Ecore_DBus_Auth_Transaction trans; if (!strncmp(e->data, "OK", 2)) diff -ru ecore.orig/src/lib/ecore_x/ecore_x.c ecore/src/lib/ecore_x/ecore_x.c --- ecore.orig/src/lib/ecore_x/ecore_x.c 2005-05-22 00:07:22.000000000 +0200 +++ ecore/src/lib/ecore_x/ecore_x.c 2005-05-22 00:08:21.000000000 +0200 @@ -1384,7 +1384,7 @@ 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;