summaryrefslogtreecommitdiff
path: root/src/net/download.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2011-06-03 11:19:20 -0600
committerJared Adams <jaxad0127@gmail.com>2011-06-03 12:08:26 -0600
commit3c0cb0e058324ee1d3116017f14387e9a6004442 (patch)
treeb9c00c3fdf1dff7e4c07bf4f8c83c2e7bc03c0f7 /src/net/download.cpp
parent894038adf52a3e2b42542239a147d6c1cc1ad204 (diff)
downloadMana-3c0cb0e058324ee1d3116017f14387e9a6004442.tar.gz
Mana-3c0cb0e058324ee1d3116017f14387e9a6004442.tar.bz2
Mana-3c0cb0e058324ee1d3116017f14387e9a6004442.tar.xz
Mana-3c0cb0e058324ee1d3116017f14387e9a6004442.zip
Replace SDL_types.h with cstdint
This required moving to C++0x, so it does that too, and fixes a few errors with that. Reviewed-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
Diffstat (limited to 'src/net/download.cpp')
-rw-r--r--src/net/download.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/download.cpp b/src/net/download.cpp
index 83ab180f..10ee2b0c 100644
--- a/src/net/download.cpp
+++ b/src/net/download.cpp
@@ -100,7 +100,7 @@ void Download::noCache()
addHeader("Cache-Control: no-cache");
}
-void Download::setFile(const std::string &filename, Sint64 adler32)
+void Download::setFile(const std::string &filename, int64_t adler32)
{
mOptions.memoryWrite = false;
mFileName = filename;
@@ -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/%lx)",
+ logger->log("Checksum for file %s failed: (%lx/%llx)",
d->mFileName.c_str(),
adler, d->mAdler);
attempts++;