summaryrefslogtreecommitdiff
path: root/src/lib/eina
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-08 21:14:58 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-09 12:18:59 +0000
commitdf9957a7c4efbf5c51a3fd4fba7be3dd03eca0ea (patch)
tree17259222a18e300db1494cd5f709af86339c3677 /src/lib/eina
parentdf02d9a8e299d864fbd287f342999a4792dafc8c (diff)
eina debug - fix 32bit warning for casting down to 32bit ptrs
Diffstat (limited to 'src/lib/eina')
-rw-r--r--src/lib/eina/eina_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eina/eina_debug.c b/src/lib/eina/eina_debug.c
index d46b18bb00..7ec64e7b69 100644
--- a/src/lib/eina/eina_debug.c
+++ b/src/lib/eina/eina_debug.c
@@ -336,7 +336,7 @@ _callbacks_register_cb(Eina_Debug_Session *session, int src_id EINA_UNUSED, void
336 memcpy(&info_64, buffer, sizeof(uint64_t)); 336 memcpy(&info_64, buffer, sizeof(uint64_t));
337 // cast to a ptr, so on 32bit we just take the lower 32bits and on 64 337 // cast to a ptr, so on 32bit we just take the lower 32bits and on 64
338 // we take all of it so we're fine 338 // we take all of it so we're fine
339 info = (_opcode_reply_info *)info_64; 339 info = (_opcode_reply_info *)(uintptr_t)info_64;
340 340
341 if (!info) return EINA_FALSE; 341 if (!info) return EINA_FALSE;
342 EINA_LIST_FOREACH(session->opcode_reply_infos, itr, info2) 342 EINA_LIST_FOREACH(session->opcode_reply_infos, itr, info2)