Fix builds on platforms without execinfo (amend cd4549aff7)

This commit is contained in:
Robin Gareus 2022-06-23 01:59:31 +02:00
parent 5831ddd40b
commit 9ab32d7cb4
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -92,7 +92,7 @@ extern "C" {
#endif
void
PBD::stacktrace (std::ostream& out, int levels, int start)
PBD::stacktrace (std::ostream& out, int levels, size_t start)
{
void* stack[62]; // does not support more then 62 levels of stacktrace
unsigned short frames;
@ -125,7 +125,7 @@ PBD::stacktrace (std::ostream& out, int levels, int start)
#else
void
PBD::stacktrace (std::ostream& out, int, int)
PBD::stacktrace (std::ostream& out, int, size_t)
{
out << "stack tracing is not enabled on this platform" << std::endl;
}