mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: use uintptr_t cast instead of long when reporting addresses
This commit is contained in:
@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user