cleanups from clement

SVN revision: 14892
This commit is contained in:
Carsten Haitzler 2005-05-22 03:01:59 +00:00
parent 6b1e15b267
commit b4f5f1315f
3 changed files with 5 additions and 4 deletions

View File

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

View File

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

View File

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