diff options
author | Thomas Winget <tewinget@gmail.com> | 2014-07-23 05:59:31 -0400 |
---|---|---|
committer | Thomas Winget <tewinget@gmail.com> | 2014-07-23 05:59:31 -0400 |
commit | a99143444c9b67b4bf591ebd66ddec2e79d55407 (patch) | |
tree | 4f4aee0b943c302e8033f67e9b361b7ef589a0f9 /tests/unit_tests/main.cpp | |
parent | Missed serializing a get_connections RPC response parameter (diff) | |
download | monero-a99143444c9b67b4bf591ebd66ddec2e79d55407.tar.xz |
Changed time_t to uint64_t for serialization
time_t is implementation-, architecture-, and apparently
compiler-dependent. As an example, on my machine if I build a 64-bit
binary, sizeof(time_t) is 8, but for a 32-bit binary it's 4. uint64_t
is therefore much more consistent for serialization, given that RPC
calls are potentially made between different machines.
Diffstat (limited to 'tests/unit_tests/main.cpp')
0 files changed, 0 insertions, 0 deletions