From 70a0d0bd23a3f2df5441f037c204604e52935974 Mon Sep 17 00:00:00 2001 From: Stefan Dombrowski Date: Sun, 5 Jun 2011 12:39:49 +0200 Subject: Removing unknown conversion type character 'l' in format This is a problem with gcc 4.4.1. Reviewed-by: Bjorn, Jaxad0127 --- src/net/download.cpp | 2 +- src/net/download.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net') 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; -- cgit v1.2.3-70-g09d2