From ecd09946e6469b3368cb4a4fdafb03b40a9e0151 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Thu, 27 Feb 2020 11:45:06 -0800 Subject: [PATCH] warning removal --- node/Fingerprint.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node/Fingerprint.hpp b/node/Fingerprint.hpp index 129002b5c..3a29e4999 100644 --- a/node/Fingerprint.hpp +++ b/node/Fingerprint.hpp @@ -39,7 +39,7 @@ public: ZT_ALWAYS_INLINE void zero() noexcept { - for(int i=0;i<(384 / (sizeof(unsigned long) * 8));++i) + for(unsigned int i=0;i<(384 / (sizeof(unsigned long) * 8));++i) _h[i] = 0; } @@ -55,7 +55,7 @@ public: ZT_ALWAYS_INLINE operator bool() const noexcept { - for(int i=0;i<(384 / (sizeof(unsigned long) * 8));++i) { + for(unsigned int i=0;i<(384 / (sizeof(unsigned long) * 8));++i) { if (_h[i] != 0) return true; }