This assert is false on x86_64: box_time_t GetCurrentBoxTime() { ASSERT(sizeof(uint32_t) == sizeof(time_t)); return SecondsToBoxTime((uint32_t)time(0)); } Are there any gotchas it is protecting? Just removing it looks plausible to me. Cheers, Martin.