Fix compiler error: cast from 'CheckLocalLeaks*' to 'int' loses precision

This commit is contained in:
Reijo Tomperi 2009-12-15 00:57:32 +02:00
parent 9cb6102983
commit 64261e6909
1 changed files with 1 additions and 1 deletions

View File

@ -2533,7 +2533,7 @@ public:
CheckLocalLeaks *c = dynamic_cast<CheckLocalLeaks *>(*it);
if (c)
{
ostr << std::hex << (int)c << ": varId=" << c->varId << " allocated=" << (c->allocated ? "true" : "false") << std::endl;
ostr << std::hex << c << ": varId=" << c->varId << " allocated=" << (c->allocated ? "true" : "false") << std::endl;
}
}
std::cout << ostr.str();