summaryrefslogtreecommitdiff
path: root/src/utils/checkutils.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-30 17:28:37 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-30 17:28:37 +0300
commitf8b6f8cbb252054404b2716960972669f4047a9f (patch)
treec6adda65656791c00a658bb607142bcab9221a51 /src/utils/checkutils.cpp
parent61adaf9555e0e730f5ac1e8996923c0abe7f5782 (diff)
downloadmanaplus-f8b6f8cbb252054404b2716960972669f4047a9f.tar.gz
manaplus-f8b6f8cbb252054404b2716960972669f4047a9f.tar.bz2
manaplus-f8b6f8cbb252054404b2716960972669f4047a9f.tar.xz
manaplus-f8b6f8cbb252054404b2716960972669f4047a9f.zip
Fix some clang issues.
Diffstat (limited to 'src/utils/checkutils.cpp')
-rw-r--r--src/utils/checkutils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/checkutils.cpp b/src/utils/checkutils.cpp
index 8f3e5c337..20c22df46 100644
--- a/src/utils/checkutils.cpp
+++ b/src/utils/checkutils.cpp
@@ -73,7 +73,7 @@ void reportStack(const char *const file,
text,
func);
#if defined __linux__ || defined __linux
- size = (int)backtrace(array, 15);
+ size = static_cast<int>(backtrace(array, 15));
strings = backtrace_symbols(array, size);
for (i = 0; i < size; i++)
logger->log1(strings[i]);