summaryrefslogtreecommitdiff
path: root/src/account.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/account.cc')
-rw-r--r--src/account.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/account.cc b/src/account.cc
index 7ce62fd1..5627b750 100644
--- a/src/account.cc
+++ b/src/account.cc
@@ -768,7 +768,7 @@ void put_account(property_tree::ptree& st, const account_t& acct,
{
if (pred(acct)) {
std::ostringstream buf;
- buf.width(sizeof(unsigned long) * 2);
+ buf.width(sizeof(intptr_t) * 2);
buf.fill('0');
buf << std::hex << reinterpret_cast<intptr_t>(&acct);