From 3e0d8f7aefe115f7bc318a70f0b03b86342c5142 Mon Sep 17 00:00:00 2001 From: Daniel Coonce Date: Fri, 13 Nov 2020 16:38:31 -0600 Subject: Fix build for x86_64-w64-mingw32 Fixes #1905 --- src/post.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/post.cc') 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(post.account); + buf << std::hex << reinterpret_cast(post.account); t.put(".ref", buf.str()); t.put("name", post.account->fullname()); -- cgit v1.2.3