diff options
author | Vincent Richard <[email protected]> | 2012-11-29 21:33:04 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2012-11-29 21:33:31 +0000 |
commit | 71f06fab915f20d10b4b97d6c927087228b51f6e (patch) | |
tree | 399177abb33447877be7e80c545c9f16ada1e078 /src/utility/progressListener.cpp | |
parent | Better handling of SSL_ERROR_WANT_READ/SSL_ERROR_WANT_WRITE. Sockets on Windo... (diff) | |
download | vmime-71f06fab915f20d10b4b97d6c927087228b51f6e.tar.gz vmime-71f06fab915f20d10b4b97d6c927087228b51f6e.zip |
Trivial 64-bit warning fixes.
Diffstat (limited to 'src/utility/progressListener.cpp')
-rw-r--r-- | src/utility/progressListener.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/utility/progressListener.cpp b/src/utility/progressListener.cpp index 4bce3721..ae5a455c 100644 --- a/src/utility/progressListener.cpp +++ b/src/utility/progressListener.cpp @@ -31,7 +31,7 @@ namespace utility { // progressListenerSizeAdapter progressListenerSizeAdapter::progressListenerSizeAdapter - (progressListener* list, const int total) + (progressListener* list, const long total) : m_wrapped(list), m_total(total) { } @@ -43,14 +43,14 @@ bool progressListenerSizeAdapter::cancel() const } -void progressListenerSizeAdapter::start(const int predictedTotal) +void progressListenerSizeAdapter::start(const long predictedTotal) { if (m_wrapped) m_wrapped->start(predictedTotal); } -void progressListenerSizeAdapter::progress(const int current, const int currentTotal) +void progressListenerSizeAdapter::progress(const long current, const long currentTotal) { if (m_wrapped) { @@ -62,7 +62,7 @@ void progressListenerSizeAdapter::progress(const int current, const int currentT } -void progressListenerSizeAdapter::stop(const int total) +void progressListenerSizeAdapter::stop(const long total) { if (m_wrapped) { |