From 736d6437b875c6e2517f794fc277f430f6a4f0ac Mon Sep 17 00:00:00 2001 From: JiHyung Lee Date: Mon, 13 Jun 2016 05:09:55 +0900 Subject: [PATCH] fix to implicit type casting (#98) * create a Xcode project * fixed to implicit type casting * Revert "create a Xcode project" This reverts commit e3216391f536fa41c47067fdb0296c56bafa11fa. --- src/crashhandler_unix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crashhandler_unix.cpp b/src/crashhandler_unix.cpp index b04da63..3e1b7fe 100644 --- a/src/crashhandler_unix.cpp +++ b/src/crashhandler_unix.cpp @@ -157,7 +157,7 @@ namespace g3 { const size_t max_dump_size = 50; void* dump[max_dump_size]; size_t size = backtrace(dump, max_dump_size); - char** messages = backtrace_symbols(dump, size); // overwrite sigaction with caller's address + char** messages = backtrace_symbols(dump, static_cast(size)); // overwrite sigaction with caller's address // dump stack: skip first frame, since that is here std::ostringstream oss;