diff options
Diffstat (limited to 'qtools/qtextstream.cpp')
-rw-r--r-- | qtools/qtextstream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qtools/qtextstream.cpp b/qtools/qtextstream.cpp index 21b455e..bae072d 100644 --- a/qtools/qtextstream.cpp +++ b/qtools/qtextstream.cpp @@ -1894,7 +1894,7 @@ QTextStream &QTextStream::operator<<( void *ptr ) setf( hex, basefield ); setf( showbase ); unsetf( uppercase ); - output_int( I_LONG | I_UNSIGNED, (ulong)ptr, FALSE ); + output_int( I_LONG | I_UNSIGNED, (uintptr_t)ptr, FALSE ); flags( f ); return *this; } |