Browse Source

Migrate away from unsigned integer types

Signed integers should be preferred in these cases.
adaptive-webui-19844
Chocobo1 3 years ago
parent
commit
0eb6967bb2
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 2
      src/app/stacktrace.h
  2. 2
      src/base/search/searchpluginmanager.h

2
src/app/stacktrace.h

@ -12,7 +12,7 @@ @@ -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");

2
src/base/search/searchpluginmanager.h

@ -36,7 +36,7 @@ @@ -36,7 +36,7 @@
#include "base/path.h"
#include "base/utils/version.h"
using PluginVersion = Utils::Version<unsigned short, 2>;
using PluginVersion = Utils::Version<short, 2>;
Q_DECLARE_METATYPE(PluginVersion)
namespace Net

Loading…
Cancel
Save