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:
Brenton Bostick
2023-07-20 10:37:50 -05:00
committed by GitHub
parent f1019dc4ee
commit 64c2634b71
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;