Otherwise, the multiplication overflows since sec_sent_mono is 32 bit
and NSEC_PER_SEC is kinda big.
Change-Id: I1b4ce376bad39792929142feb7c3a05308188112
/* TODO: it would be good not to have to recalculate this.
* Perhaps have the item struct contain entry, next, timestamp?
* Maybe it's fine though, math is cheap. */
- const uint64_t timestamp64 = item->entry->sec_sent_mono * NSEC_PER_SEC + item->entry->nsec_sent_mono;
+ const uint64_t timestamp64 = (uint64_t)item->entry->sec_sent_mono * NSEC_PER_SEC + item->entry->nsec_sent_mono;
int const bucket = (timestamp64 >> step) & 0xFF;
if (!begin[bucket])