eina debug - fix 32bit warning for casting down to 32bit ptrs

This commit is contained in:
Carsten Haitzler 2018-11-08 21:14:58 +00:00
parent df02d9a8e2
commit df9957a7c4
1 changed files with 1 additions and 1 deletions

View File

@ -336,7 +336,7 @@ _callbacks_register_cb(Eina_Debug_Session *session, int src_id EINA_UNUSED, void
memcpy(&info_64, buffer, sizeof(uint64_t));
// cast to a ptr, so on 32bit we just take the lower 32bits and on 64
// we take all of it so we're fine
info = (_opcode_reply_info *)info_64;
info = (_opcode_reply_info *)(uintptr_t)info_64;
if (!info) return EINA_FALSE;
EINA_LIST_FOREACH(session->opcode_reply_infos, itr, info2)