summaryrefslogtreecommitdiff
path: root/src/bin/efl/efl_debugd.c
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2015-07-02 22:24:44 +0200
committerTom Hacohen <tom@stosb.com>2015-07-03 16:23:06 +0100
commit9846976847c7a3a515ee67c1c178e6fb53707ddd (patch)
treeeb963ce8178f9a2380e4cd6ebf09ef6229ca6e04 /src/bin/efl/efl_debugd.c
parente494c225f7fc1b2819be92611b62834aee6e70e6 (diff)
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
Diffstat (limited to '')
-rw-r--r--src/bin/efl/efl_debugd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/efl/efl_debugd.c b/src/bin/efl/efl_debugd.c
index a46d42332b..a1025fbb4e 100644
--- a/src/bin/efl/efl_debugd.c
+++ b/src/bin/efl/efl_debugd.c
@@ -127,8 +127,8 @@ _do(Client *c, char *op, unsigned char *d, int size)
127 127
128 send_cli(c2->client, "EVON", NULL, 0); 128 send_cli(c2->client, "EVON", NULL, 0);
129 c2->evlog_fetch_timer = ecore_timer_add(0.2, _cb_evlog, c2); 129 c2->evlog_fetch_timer = ecore_timer_add(0.2, _cb_evlog, c2);
130 snprintf(buf, sizeof(buf), "%s/efl_debug_evlog-%i.log", 130 snprintf(buf, sizeof(buf), "%s/efl_debug_evlog-%ld.log",
131 getenv("HOME"), c2->pid); 131 getenv("HOME"), (long)c2->pid);
132 c2->evlog_file = fopen(buf, "w"); 132 c2->evlog_file = fopen(buf, "w");
133 } 133 }
134 } 134 }