aboutsummaryrefslogtreecommitdiff
path: root/backends/networking
diff options
context:
space:
mode:
authorAlexander Tkachev2016-06-18 14:41:31 +0600
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commitcaa53d9f6c191eecf87dc646dac33be25cb98f16 (patch)
tree2a30a2aab6f202e13e59d279710f44cadbb17b7d /backends/networking
parent39eb76f8c2ea62520c29e76ee10d97c2a13f0f42 (diff)
downloadscummvm-rg350-caa53d9f6c191eecf87dc646dac33be25cb98f16.tar.gz
scummvm-rg350-caa53d9f6c191eecf87dc646dac33be25cb98f16.tar.bz2
scummvm-rg350-caa53d9f6c191eecf87dc646dac33be25cb98f16.zip
CLOUD: Fix "-Wconversion-null"
That `false` came from TranslationManager's function, which was returning bool, not a pointer. Somehow missed that line.
Diffstat (limited to 'backends/networking')
-rw-r--r--backends/networking/sdl_net/indexpagehandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/networking/sdl_net/indexpagehandler.cpp b/backends/networking/sdl_net/indexpagehandler.cpp
index e459b3a47d..2d1f2c2cd7 100644
--- a/backends/networking/sdl_net/indexpagehandler.cpp
+++ b/backends/networking/sdl_net/indexpagehandler.cpp
@@ -107,7 +107,7 @@ Common::Archive *IndexPageHandler::getZipArchive() {
if (ConfMan.hasKey("themepath")) {
const Common::FSNode &node = Common::FSNode(ConfMan.get("themepath"));
if (!node.exists() || !node.isReadable() || !node.isDirectory())
- return false;
+ return nullptr;
Common::FSNode fileNode = node.getChild(ARCHIVE_NAME);
if (fileNode.exists() && fileNode.isReadable() && !fileNode.isDirectory()) {