diff options
author | Stefan Dombrowski <stefan@uni-bonn.de> | 2011-06-05 12:39:49 +0200 |
---|---|---|
committer | Stefan Dombrowski <stefan@uni-bonn.de> | 2011-06-05 12:39:49 +0200 |
commit | 70a0d0bd23a3f2df5441f037c204604e52935974 (patch) | |
tree | 2f13c86385af9c794654c23e939f92996f575601 /src | |
parent | a1408dbee9abd41d724599c260f2599038e64a72 (diff) | |
download | mana-70a0d0bd23a3f2df5441f037c204604e52935974.tar.gz mana-70a0d0bd23a3f2df5441f037c204604e52935974.tar.bz2 mana-70a0d0bd23a3f2df5441f037c204604e52935974.tar.xz mana-70a0d0bd23a3f2df5441f037c204604e52935974.zip |
Removing unknown conversion type character 'l' in format
This is a problem with gcc 4.4.1.
Reviewed-by: Bjorn, Jaxad0127
Diffstat (limited to 'src')
-rw-r--r-- | src/net/download.cpp | 2 | ||||
-rw-r--r-- | src/net/download.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net/download.cpp b/src/net/download.cpp index 10ee2b0c..b6d75b71 100644 --- a/src/net/download.cpp +++ b/src/net/download.cpp @@ -276,7 +276,7 @@ int Download::downloadThread(void *ptr) // Remove the corrupted file ::remove(d->mFileName.c_str()); - logger->log("Checksum for file %s failed: (%lx/%llx)", + logger->log("Checksum for file %s failed: (%lx/%lx)", d->mFileName.c_str(), adler, d->mAdler); attempts++; diff --git a/src/net/download.h b/src/net/download.h index cf7335d4..62110918 100644 --- a/src/net/download.h +++ b/src/net/download.h @@ -93,7 +93,7 @@ class Download } mOptions; std::string mFileName; WriteFunction mWriteFunction; - int64_t mAdler; + unsigned long mAdler; DownloadUpdate mUpdateFunction; SDL_Thread *mThread; CURL *mCurl; |