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:
@ -50,7 +50,7 @@ void printInfo
|
||||
Info<< " size=\"" << lst.size() << "\"";
|
||||
if (lst.cdata())
|
||||
{
|
||||
Info<< " ptr=\"" << long(lst.cdata()) << "\"";
|
||||
Info<< " ptr=\"" << uintptr_t(lst.cdata()) << "\"";
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -76,7 +76,7 @@ void printInfo
|
||||
<< "\" capacity=\"" << lst.capacity() << "\"";
|
||||
if (lst.cdata())
|
||||
{
|
||||
Info<< " ptr=\"" << long(lst.cdata()) << "\"";
|
||||
Info<< " ptr=\"" << uintptr_t(lst.cdata()) << "\"";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user