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
parent ffa0523cdf
commit 606c01548f
20 changed files with 65 additions and 65 deletions

View File

@ -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
{