mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
fix signed/unsigned warning
This commit is contained in:
parent
dc4235efbe
commit
cd4549aff7
2 changed files with 3 additions and 2 deletions
|
|
@ -24,6 +24,7 @@
|
||||||
#ifdef HAVE_WAFBUILD
|
#ifdef HAVE_WAFBUILD
|
||||||
#include "libpbd-config.h"
|
#include "libpbd-config.h"
|
||||||
#endif
|
#endif
|
||||||
|
#include <cstddef>
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <ostream>
|
#include <ostream>
|
||||||
|
|
@ -40,7 +41,7 @@
|
||||||
|
|
||||||
namespace PBD {
|
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();
|
LIBPBD_API void trace_twb();
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@ PBD::trace_twb ()
|
||||||
#include <execinfo.h>
|
#include <execinfo.h>
|
||||||
|
|
||||||
void
|
void
|
||||||
PBD::stacktrace (std::ostream& out, int levels, int start)
|
PBD::stacktrace (std::ostream& out, int levels, size_t start)
|
||||||
{
|
{
|
||||||
void *array[200];
|
void *array[200];
|
||||||
size_t size;
|
size_t size;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue