diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-19 16:05:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-19 16:05:51 +0300 |
commit | 549acdd072b732135dfa7b79015abf7340bef585 (patch) | |
tree | 4ef633c931e05357dd1b89bd7b399ed0fbb0115f /src/gui/windows/updaterwindow.cpp | |
parent | 39276c4fc0e94f89a53e6c2cb05fd46edea3cc13 (diff) | |
download | manaplus-549acdd072b732135dfa7b79015abf7340bef585.tar.gz manaplus-549acdd072b732135dfa7b79015abf7340bef585.tar.bz2 manaplus-549acdd072b732135dfa7b79015abf7340bef585.tar.xz manaplus-549acdd072b732135dfa7b79015abf7340bef585.zip |
Fix code style.
Diffstat (limited to 'src/gui/windows/updaterwindow.cpp')
-rw-r--r-- | src/gui/windows/updaterwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/updaterwindow.cpp b/src/gui/windows/updaterwindow.cpp index 5fc5420ee..827bd3550 100644 --- a/src/gui/windows/updaterwindow.cpp +++ b/src/gui/windows/updaterwindow.cpp @@ -1044,7 +1044,7 @@ bool UpdaterWindow::validateFile(const std::string &filePath, unsigned long UpdaterWindow::getFileHash(const std::string &filePath) { int size = 0; - char *const buf = static_cast<char*>(PhysFs::loadFile(filePath, size)); + const char *const buf = static_cast<const char*>(PhysFs::loadFile(filePath, size)); if (!buf) return 0; return Net::Download::adlerBuffer(buf, size); |