summaryrefslogtreecommitdiff
path: root/src/lib/eina/eina_evlog.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-02-12 00:29:01 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-02-12 00:32:22 +0900
commitba3ac16b62812bc0410ed734078d8108f67a9367 (patch)
tree81a5ed93549c4f0b72f70cf6c24c37cf90a23392 /src/lib/eina/eina_evlog.c
parentc1c7ad836064e3cdb9e89aaa4ac6bb1d216e2b6e (diff)
evlog/log bt - fix size casting tot stop warning when printing errs
Diffstat (limited to '')
-rw-r--r--src/lib/eina/eina_evlog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/eina/eina_evlog.c b/src/lib/eina/eina_evlog.c
index 8c0685799a..d1b3a4be3f 100644
--- a/src/lib/eina/eina_evlog.c
+++ b/src/lib/eina/eina_evlog.c
@@ -150,8 +150,8 @@ eina_evlog(const char *event, void *obj, double srctime, const char *detail)
150 item = (Eina_Evlog_Item *)strings; 150 item = (Eina_Evlog_Item *)strings;
151 item->tim = now; 151 item->tim = now;
152 item->srctim = srctime; 152 item->srctim = srctime;
153 item->thread = (unsigned long long)pthread_self(); 153 item->thread = (unsigned long long)(uintptr_t)pthread_self();
154 item->obj = (unsigned long long)obj; 154 item->obj = (unsigned long long)(uintptr_t)obj;
155 item->event_offset = sizeof(Eina_Evlog_Item); 155 item->event_offset = sizeof(Eina_Evlog_Item);
156 item->detail_offset = detail_offset; 156 item->detail_offset = detail_offset;
157 item->event_next = size; 157 item->event_next = size;