Migrate away from unsigned integer types

Signed integers should be preferred in these cases.
This commit is contained in:
Chocobo1
2022-04-02 16:37:30 +08:00
parent 2854630b1c
commit 0eb6967bb2
2 changed files with 2 additions and 2 deletions

View File

@@ -12,7 +12,7 @@
#include <vector>
/** Print a demangled stack backtrace of the caller function to FILE* out. */
static inline void print_stacktrace(FILE *out = stderr, unsigned int max_frames = 63)
static inline void print_stacktrace(FILE *out = stderr, const int max_frames = 63)
{
fprintf(out, "Stack trace:\n");