Make Quassel compile on amd64. Thanks aseigo for finding this issue and providing
[quassel.git] / src / client / treemodel.cpp
index fda1df4..c113b28 100644 (file)
@@ -43,8 +43,8 @@ TreeItem::~TreeItem() {
   qDeleteAll(_childItems);
 }
 
-uint TreeItem::id() const {
-  return (uint)this;
+quint64 TreeItem::id() const {
+  return (quint64)this;
 }
 
 void TreeItem::appendChild(TreeItem *item) {