summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/net/download.cpp2
-rw-r--r--src/net/download.h2
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;