Mercurial > dedupe
diff MemoryDBLink.cpp @ 86:af7962f3274b
Use quint64 for sizes, rather than qint64.
| author | Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no> |
|---|---|
| date | Thu, 10 Oct 2013 16:07:35 +0200 |
| parents | c9447697609f |
| children | f49023c61dac |
line wrap: on
line diff
--- a/MemoryDBLink.cpp Thu Oct 10 15:55:30 2013 +0200 +++ b/MemoryDBLink.cpp Thu Oct 10 16:07:35 2013 +0200 @@ -2,7 +2,7 @@ #include "Exception/ValueExistsException.hpp" #include <QtCore/QStringList> -void MemoryDBLink::addFile(const QString& path, qint64 size, +void MemoryDBLink::addFile(const QString& path, quint64 size, const QDateTime& dtime, const QByteArray& hash) { addFile(DBInfo(path, size, dtime, hash)); @@ -84,7 +84,7 @@ return NONE; } -void MemoryDBLink::updateFile(const QString& path, qint64 size, +void MemoryDBLink::updateFile(const QString& path, quint64 size, const QDateTime& dtime, const QByteArray& hash) { updateFile(DBInfo(path, size, dtime, hash));
