diff options
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()); |