summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/updatewindow.cpp2
-rw-r--r--src/gui/updatewindow.h2
2 files changed, 2 insertions, 2 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)
diff --git a/src/gui/updatewindow.h b/src/gui/updatewindow.h
index 13b72f3a8..03fd57d1c 100644
--- a/src/gui/updatewindow.h
+++ b/src/gui/updatewindow.h
@@ -136,7 +136,7 @@ private:
static size_t memoryWrite(void *ptr, size_t size, size_t nmemb,
void *stream);
- bool validateFile(std::string filePath, long hash);
+ bool validateFile(std::string filePath, unsigned long hash);
enum UpdateDownloadStatus
{