fix signed/unsigned warning
This commit is contained in:
parent
dc4235efbe
commit
cd4549aff7
@ -24,6 +24,7 @@
|
||||
#ifdef HAVE_WAFBUILD
|
||||
#include "libpbd-config.h"
|
||||
#endif
|
||||
#include <cstddef>
|
||||
|
||||
#include <iostream>
|
||||
#include <ostream>
|
||||
@ -40,7 +41,7 @@
|
||||
|
||||
namespace PBD {
|
||||
|
||||
LIBPBD_API void stacktrace (std::ostream& out, int levels = 0, int start_level = 0);
|
||||
LIBPBD_API void stacktrace (std::ostream& out, int levels = 0, size_t start_level = 0);
|
||||
LIBPBD_API void trace_twb();
|
||||
|
||||
template<typename T>
|
||||
|
@ -49,7 +49,7 @@ PBD::trace_twb ()
|
||||
#include <execinfo.h>
|
||||
|
||||
void
|
||||
PBD::stacktrace (std::ostream& out, int levels, int start)
|
||||
PBD::stacktrace (std::ostream& out, int levels, size_t start)
|
||||
{
|
||||
void *array[200];
|
||||
size_t size;
|
||||
|
Loading…
Reference in New Issue
Block a user