// anything here
if ((dladdr(bt[i], &info)) && (info.dli_fname[0]))
{
- offset = (unsigned long long)bt[i];
- base = (unsigned long long)info.dli_fbase;
+ offset = (unsigned long long)(uintptr_t)bt[i];
+ base = (unsigned long long)(uintptr_t)info.dli_fbase;
file = _eina_debug_file_get(info.dli_fname);
}
// rely on normal libc buffering for file ops to avoid syscalls.
item = (Eina_Evlog_Item *)strings;
item->tim = now;
item->srctim = srctime;
- item->thread = (unsigned long long)pthread_self();
- item->obj = (unsigned long long)obj;
+ item->thread = (unsigned long long)(uintptr_t)pthread_self();
+ item->obj = (unsigned long long)(uintptr_t)obj;
item->event_offset = sizeof(Eina_Evlog_Item);
item->detail_offset = detail_offset;
item->event_next = size;