mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Don't filter use of TTInfo file section based on sizeof time_t.
The whole point of GncDateTime is to work around 32-bit time_t.
This commit is contained in:
parent
b40589244c
commit
27435b1038
@ -418,7 +418,7 @@ namespace IANAParser
|
||||
auto isgmt_count = *(endian_swap(reinterpret_cast<uint32_t*>(tzh.ttisgmtcnt)));
|
||||
auto isstd_count = *(endian_swap(reinterpret_cast<uint32_t*>(tzh.ttisstdcnt)));
|
||||
auto leap_count = *(endian_swap(reinterpret_cast<uint32_t*>(tzh.leapcnt)));
|
||||
if ((tzh.version == '2' || tzh.version == '3') && sizeof(time_t) == sizeof(int64_t))
|
||||
if ((tzh.version == '2' || tzh.version == '3'))
|
||||
{
|
||||
fb_index = (sizeof(tzh) +
|
||||
(sizeof(uint32_t) + sizeof(uint8_t)) * time_count +
|
||||
|
Loading…
Reference in New Issue
Block a user