Browse Source

build fix

Adam Ierymenko 3 years ago
parent
commit
877f86a896
1 changed files with 1 additions and 1 deletions
  1. 1 1
      node/Membership.hpp

+ 1 - 1
node/Membership.hpp

@@ -69,7 +69,7 @@ public:
 	 * @param lastReceivedCredentials Time we last received updated credentials from the controller
 	 * @param lastReceivedCredentials Time we last received updated credentials from the controller
 	 * @return True if we haven't pushed credentials in a long time (to cause proactive credential push)
 	 * @return True if we haven't pushed credentials in a long time (to cause proactive credential push)
 	 */
 	 */
-	inline bool shouldPushCredentials(const int64_t now, const lastReceivedCredentials) const
+	inline bool shouldPushCredentials(const int64_t now, const int64_t lastReceivedCredentials) const
 	{
 	{
 		return ((now - _lastPushedCredentials) > ZT_PEER_ACTIVITY_TIMEOUT) || (lastReceivedCredentials > _lastPushedCredentials);
 		return ((now - _lastPushedCredentials) > ZT_PEER_ACTIVITY_TIMEOUT) || (lastReceivedCredentials > _lastPushedCredentials);
 	}
 	}