diff options
author | Daniel Coonce <danielcoonce@gmail.com> | 2020-11-13 16:38:31 -0600 |
---|---|---|
committer | Martin Michlmayr <tbm@cyrius.com> | 2021-02-02 18:06:04 +0800 |
commit | 3e0d8f7aefe115f7bc318a70f0b03b86342c5142 (patch) | |
tree | c1656de85dd34ae071abfd4ff63f14d69a76e9ad /src/post.cc | |
parent | 5560b0c40f3986704df25095fcc485bcc1de9e5b (diff) | |
download | fork-ledger-3e0d8f7aefe115f7bc318a70f0b03b86342c5142.tar.gz fork-ledger-3e0d8f7aefe115f7bc318a70f0b03b86342c5142.tar.bz2 fork-ledger-3e0d8f7aefe115f7bc318a70f0b03b86342c5142.zip |
Fix build for x86_64-w64-mingw32
Fixes #1905
Diffstat (limited to 'src/post.cc')
-rw-r--r-- | src/post.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/post.cc b/src/post.cc index 9cc0594b..c9f28e99 100644 --- a/src/post.cc +++ b/src/post.cc @@ -729,7 +729,7 @@ void put_post(property_tree::ptree& st, const post_t& post) std::ostringstream buf; buf.width(sizeof(unsigned long) * 2); buf.fill('0'); - buf << std::hex << reinterpret_cast<unsigned long>(post.account); + buf << std::hex << reinterpret_cast<intptr_t>(post.account); t.put("<xmlattr>.ref", buf.str()); t.put("name", post.account->fullname()); |