STYLE: use uintptr_t cast instead of long when reporting addresses

This commit is contained in:
Mark Olesen
2019-04-29 08:15:48 +02:00
committed by Andrew Heather
parent 4a1208ed30
commit 59da4cf56d
20 changed files with 65 additions and 65 deletions

View File

@ -46,7 +46,7 @@ void printInfo(const tmp<T>& tmpItem)
{
Info<< "tmp valid:" << tmpItem.valid()
<< " isTmp:" << tmpItem.isTmp()
<< " addr: " << long(tmpItem.get());
<< " addr: " << uintptr_t(tmpItem.get());
if (tmpItem.valid())
{