I think sizeof(long) is 4 on 32-bit Windows but sizeof(time_t) is 8?

http://msdn.microsoft.com/en-us/library/1f4c8f33.aspx