From 3c0cb0e058324ee1d3116017f14387e9a6004442 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Fri, 3 Jun 2011 11:19:20 -0600 Subject: Replace SDL_types.h with cstdint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This required moving to C++0x, so it does that too, and fixes a few errors with that. Reviewed-by: Thorbjørn Lindeijer --- src/net/download.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/download.cpp') 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++; -- cgit v1.2.3-70-g09d2