From 02340285c564a7e82105137192d46d554a6fce3a Mon Sep 17 00:00:00 2001 From: Dominic Hamon Date: Sun, 30 May 2021 20:37:54 +0100 Subject: Added -Wshorten-64-to-32 and fixed all warnings. --- src/modules/m_bcrypt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_bcrypt.cpp') diff --git a/src/modules/m_bcrypt.cpp b/src/modules/m_bcrypt.cpp index 9f3c9f7d5..34bc6e71d 100644 --- a/src/modules/m_bcrypt.cpp +++ b/src/modules/m_bcrypt.cpp @@ -42,7 +42,7 @@ class BCryptProvider : public HashProvider } public: - unsigned int rounds = 10; + unsigned long rounds = 10; std::string Generate(const std::string& data, const std::string& salt) { -- cgit v1.3.1-10-gc9f91