suppress warnings: comparison of integers of different signs: 'int64_t' (aka 'long') and 'uint64_t' (aka 'unsigned long') [-Wsign-compare]

This commit is contained in:
Brenton Bostick 2023-07-19 12:23:57 -04:00
parent 5a36b315a3
commit b193519514
2 changed files with 10 additions and 0 deletions

View file

@ -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;

View file

@ -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 {
/****************************************************************************/