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:
committed by
Andrew Heather
parent
4a1208ed30
commit
59da4cf56d
@ -45,7 +45,7 @@ void printTable(const HashPtrTable<T>& table)
|
||||
Info<< iter.key() << " = ";
|
||||
if (ptr)
|
||||
{
|
||||
Info<< *ptr << " (" << long(ptr) << ")";
|
||||
Info<< *ptr << " (" << uintptr_t(ptr) << ")";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user