[Box Backup-dev] ASSERT

Martin Ebourne boxbackup-dev at fluffy.co.uk
Thu Dec 15 01:05:40 GMT 2005


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.




More information about the Boxbackup-dev mailing list