mirror of
https://github.com/KjellKod/g3log.git
synced 2025-03-01 10:57:57 +01:00
fix to implicit type casting (#98)
* create a Xcode project * fixed to implicit type casting * Revert "create a Xcode project" This reverts commit e3216391f536fa41c47067fdb0296c56bafa11fa.
This commit is contained in:
parent
e58cc942dd
commit
736d6437b8
@ -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<int>(size)); // overwrite sigaction with caller's address
|
||||
|
||||
// dump stack: skip first frame, since that is here
|
||||
std::ostringstream oss;
|
||||
|
Loading…
x
Reference in New Issue
Block a user