Efl debug daemon: Fix Warning on Windows.
According to the Open Group, pid_t is signed integer and can not be larger than a long
This commit is contained in:
parent
e494c225f7
commit
9846976847
|
@ -127,8 +127,8 @@ _do(Client *c, char *op, unsigned char *d, int size)
|
||||||
|
|
||||||
send_cli(c2->client, "EVON", NULL, 0);
|
send_cli(c2->client, "EVON", NULL, 0);
|
||||||
c2->evlog_fetch_timer = ecore_timer_add(0.2, _cb_evlog, c2);
|
c2->evlog_fetch_timer = ecore_timer_add(0.2, _cb_evlog, c2);
|
||||||
snprintf(buf, sizeof(buf), "%s/efl_debug_evlog-%i.log",
|
snprintf(buf, sizeof(buf), "%s/efl_debug_evlog-%ld.log",
|
||||||
getenv("HOME"), c2->pid);
|
getenv("HOME"), (long)c2->pid);
|
||||||
c2->evlog_file = fopen(buf, "w");
|
c2->evlog_file = fopen(buf, "w");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue