diff options
| author | Zachary Michaels <mikezackles@gmail.com> | 2014-08-20 11:57:29 -0400 |
|---|---|---|
| committer | Riccardo Spagni <ric@spagni.net> | 2014-09-15 22:38:46 +0200 |
| commit | 9db881864db916310c11270c1939db700689c9a3 (patch) | |
| tree | 742b1cd07dde7581f9a3090698da29152cecf3ee /utils | |
| parent | ed41ee4c264ee26cd786eebf1476f97dbe81c9b8 (diff) | |
| download | monzero-core-9db881864db916310c11270c1939db700689c9a3.tar.gz monzero-core-9db881864db916310c11270c1939db700689c9a3.tar.xz monzero-core-9db881864db916310c11270c1939db700689c9a3.zip | |
Fix time_t serialization issue
On 32-bit MinGW-w64, time_t is int32_t. The existing code was serializing
time_t directly and implicitly assuming that time_t is int64_t. This commit
formalizes that assumption by serializing int64_t directly and casting to
time_t where appropriate.
Thanks go to greatwolf for reporting this issue.
monero-project/bitmonero#88
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions
