Commit dc8abcf9 authored by Patrick Spendrin's avatar Patrick Spendrin

use correct integer size for pointers

parent 8d69441e
......@@ -263,9 +263,9 @@ void IRCView::dropEvent(QDropEvent* e)
#define _S(x) #x << (x)
#if KDE_IS_VERSION(4,6,0)
# define DebugBanner KDebug::Block myBlock(qPrintable(QString("%1 %2").arg(m_chatWin->getName()).arg(QString::number((ulong)this, 16))))
# define DebugBanner KDebug::Block myBlock(qPrintable(QString("%1 %2").arg(m_chatWin->getName()).arg(QString::number((quintptr)this, 16))))
#else
# define DebugBanner kDebug() << "Entering context:" << qPrintable(QString("%1 %2").arg(m_chatWin->getName()).arg(QString::number((ulong)this, 16)));
# define DebugBanner kDebug() << "Entering context:" << qPrintable(QString("%1 %2").arg(m_chatWin->getName()).arg(QString::number((quintptr)this, 16)));
#endif
QDebug operator<<(QDebug dbg, QTextBlockUserData *bd);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment