[Box Backup-dev] ASSERT

Martin Ebourne boxbackup-dev@fluffy.co.uk
Thu, 15 Dec 2005 01:05:40 +0000


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.