Index: filed.c ================================================================== --- filed.c +++ filed.c @@ -488,11 +488,11 @@ ); break; } fprintf(fp, " THREAD=%llu TIME=%llu\n", - (unsigned long long) curr->thread, + (unsigned long long) ((intptr_t) curr->thread), (unsigned long long) now ); fflush(fp); prev = curr;