summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/QtFileTransferListItemModel.cpp')
-rw-r--r--Swift/QtUI/QtFileTransferListItemModel.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Swift/QtUI/QtFileTransferListItemModel.cpp b/Swift/QtUI/QtFileTransferListItemModel.cpp
index 1b8ec51..63dd45a 100644
--- a/Swift/QtUI/QtFileTransferListItemModel.cpp
+++ b/Swift/QtUI/QtFileTransferListItemModel.cpp
@@ -7,6 +7,7 @@
#include "QtFileTransferListItemModel.h"
#include <boost/bind.hpp>
+#include <boost/cstdint.hpp>
#include <Swiften/Base/boost_bsignals.h>
#include <Swift/Controllers/FileTransfer/FileTransferController.h>
@@ -14,7 +15,7 @@
namespace Swift {
-extern std::string formatSize(const uintmax_t bytes);
+extern std::string formatSize(const boost::uintmax_t bytes);
QtFileTransferListItemModel::QtFileTransferListItemModel(QObject *parent) : QAbstractItemModel(parent), fileTransferOverview(0) {
}