mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-13 18:56:54 +02:00
suppress warnings: comparison of integers of different signs: 'int64_t' (aka 'long') and 'uint64_t' (aka 'unsigned long') [-Wsign-compare] (#2063)
This commit is contained in:
parent
f1019dc4ee
commit
64c2634b71
2 changed files with 10 additions and 0 deletions
|
@ -20,6 +20,11 @@
|
|||
#include <string>
|
||||
#include <cinttypes> // for PRId64, etc. macros
|
||||
|
||||
// FIXME: remove this suppression and actually fix warnings
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic ignored "-Wsign-compare"
|
||||
#endif
|
||||
|
||||
namespace ZeroTier {
|
||||
|
||||
static unsigned char s_freeRandomByteCounter = 0;
|
||||
|
|
|
@ -36,6 +36,11 @@
|
|||
#include "Trace.hpp"
|
||||
#include "Metrics.hpp"
|
||||
|
||||
// FIXME: remove this suppression and actually fix warnings
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic ignored "-Wsign-compare"
|
||||
#endif
|
||||
|
||||
namespace ZeroTier {
|
||||
|
||||
/****************************************************************************/
|
||||
|
|
Loading…
Add table
Reference in a new issue