mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 10:32:57 +01:00
trunk/branch integration: 64bit fix
This commit is contained in:
parent
34d3e64dba
commit
70280b88a6
@ -394,7 +394,11 @@ void NumberFormatter::append(std::string& str, const void* ptr)
|
|||||||
{
|
{
|
||||||
char buffer[24];
|
char buffer[24];
|
||||||
#if defined(POCO_PTR_IS_64_BIT)
|
#if defined(POCO_PTR_IS_64_BIT)
|
||||||
std::sprintf(buffer, "%016"I64_FMT"X", (UIntPtr) ptr);
|
#if defined(POCO_LONG_IS_64_BIT)
|
||||||
|
std::sprintf(buffer, "%016lX", (UIntPtr) ptr);
|
||||||
|
#else
|
||||||
|
std::sprintf(buffer, "%016"I64_FMT"X", (UIntPtr) ptr);
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
std::sprintf(buffer, "%08lX", (UIntPtr) ptr);
|
std::sprintf(buffer, "%08lX", (UIntPtr) ptr);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user