Make Quassel compile on amd64. Thanks aseigo for finding this issue and providing
[quassel.git] / src / client / buffertreemodel.h
index 7737dd3..17330a4 100644 (file)
@@ -5,7 +5,7 @@
  *   This program is free software; you can redistribute it and/or modify  *
  *   it under the terms of the GNU General Public License as published by  *
  *   the Free Software Foundation; either version 2 of the License, or     *
- *   (at your option) any later version.                                   *
+ *   (at your option) version 3.                                           *
  *                                                                         *
  *   This program is distributed in the hope that it will be useful,       *
  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
@@ -46,7 +46,7 @@ class BufferTreeItem : public TreeItem {
 public:
   BufferTreeItem(Buffer *, TreeItem *parent = 0);
 
-  virtual uint id() const;
+  virtual quint64 id() const;
   QVariant data(int column, int role) const;
 
   Buffer *buffer() const { return buf; }
@@ -70,7 +70,7 @@ public:
   NetworkTreeItem(const uint &netid, const QString &, TreeItem *parent = 0);
 
   virtual QVariant data(int column, int row) const;
-  virtual uint id() const;
+  virtual quint64 id() const;
 
 private:
   uint _networkId;