summaryrefslogtreecommitdiff
path: root/src/fs/paths.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2020-05-30 03:55:29 +0300
committerAndrei Karas <akaras@inbox.ru>2020-05-30 03:55:49 +0300
commit4ea05d37c952b80105a5623865c3dfec35a1bfd5 (patch)
tree078a726682dfd2cefcb3df8b7475278c44d56336 /src/fs/paths.cpp
parentaf506ac53ca3308a1d77d040c429c2b51e3147b0 (diff)
downloadmanaplus-4ea05d37c952b80105a5623865c3dfec35a1bfd5.tar.gz
manaplus-4ea05d37c952b80105a5623865c3dfec35a1bfd5.tar.bz2
manaplus-4ea05d37c952b80105a5623865c3dfec35a1bfd5.tar.xz
manaplus-4ea05d37c952b80105a5623865c3dfec35a1bfd5.zip
Fix left style issues from switch port merging
Diffstat (limited to 'src/fs/paths.cpp')
-rw-r--r--src/fs/paths.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fs/paths.cpp b/src/fs/paths.cpp
index 273dbd59f..942f69471 100644
--- a/src/fs/paths.cpp
+++ b/src/fs/paths.cpp
@@ -92,7 +92,8 @@ std::string getRealPath(const std::string &str)
{
return std::string();
}
-#if defined(__OpenBSD__) || defined(__ANDROID__) || defined(__native_client__) || defined(__SWITCH__)
+#if defined(__OpenBSD__) || defined(__ANDROID__) || \
+ defined(__native_client__) || defined(__SWITCH__)
char *realPath = reinterpret_cast<char*>(calloc(PATH_MAX, sizeof(char)));
if (!realPath)
return "";