From a665dc5375073ff2f33c374faa69656f434c79b7 Mon Sep 17 00:00:00 2001 From: Andrey Prygunkov Date: Sat, 26 Jan 2019 16:33:30 +0100 Subject: [PATCH] fixed compiler warning 'register' storage class specifier is deprecated and incompatible with C++17 --- daemon/util/Util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/util/Util.cpp b/daemon/util/Util.cpp index 1f1ca72d..f1389681 100644 --- a/daemon/util/Util.cpp +++ b/daemon/util/Util.cpp @@ -493,7 +493,7 @@ b -= c; b -= a; b ^= (a<<10); \ c -= a; c -= b; c ^= (b>>15); \ } -uint32 hash(register uint8 *k, register uint32 length, register uint32 initval) +uint32 hash(uint8 *k, uint32 length, uint32 initval) // register uint8 *k; /* the key */ // register uint32 length; /* the length of the key */ // register uint32 initval; /* the previous hash, or an arbitrary value */