summaryrefslogtreecommitdiff
path: root/src/gui/updatewindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-02-27 03:47:17 +0200
committerAndrei Karas <akaras@inbox.ru>2011-02-27 03:47:17 +0200
commit4eebbd313a182296ba561e2cdfebdebf473d0889 (patch)
tree2a6bd96d61f6d31b825fca9eb0c6d08e8ed5fa98 /src/gui/updatewindow.cpp
parent037248d338291529e0c044a80ca8345abe05dd2b (diff)
downloadmanaplus-4eebbd313a182296ba561e2cdfebdebf473d0889.tar.gz
manaplus-4eebbd313a182296ba561e2cdfebdebf473d0889.tar.bz2
manaplus-4eebbd313a182296ba561e2cdfebdebf473d0889.tar.xz
manaplus-4eebbd313a182296ba561e2cdfebdebf473d0889.zip
Fix compilation warning.
Diffstat (limited to 'src/gui/updatewindow.cpp')
-rw-r--r--src/gui/updatewindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/updatewindow.cpp b/src/gui/updatewindow.cpp
index f4281cff1..542d665d5 100644
--- a/src/gui/updatewindow.cpp
+++ b/src/gui/updatewindow.cpp
@@ -673,7 +673,7 @@ void UpdaterWindow::logic()
}
}
-bool UpdaterWindow::validateFile(std::string filePath, long hash)
+bool UpdaterWindow::validateFile(std::string filePath, unsigned long hash)
{
FILE *file = fopen(filePath.c_str(), "rb");
if (!file)