mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 21:33:27 -07:00
Migrate away from unsigned integer types
Signed integers should be preferred in these cases.
This commit is contained in:
parent
2854630b1c
commit
0eb6967bb2
2 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
/** Print a demangled stack backtrace of the caller function to FILE* out. */
|
/** 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");
|
fprintf(out, "Stack trace:\n");
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
#include "base/path.h"
|
#include "base/path.h"
|
||||||
#include "base/utils/version.h"
|
#include "base/utils/version.h"
|
||||||
|
|
||||||
using PluginVersion = Utils::Version<unsigned short, 2>;
|
using PluginVersion = Utils::Version<short, 2>;
|
||||||
Q_DECLARE_METATYPE(PluginVersion)
|
Q_DECLARE_METATYPE(PluginVersion)
|
||||||
|
|
||||||
namespace Net
|
namespace Net
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue