From ed742a863d08ce806fe7aa2818fd8825361c4ee0 Mon Sep 17 00:00:00 2001 From: lbeder Date: Sat, 24 Dec 2022 02:31:06 +0000 Subject: [PATCH] Fix clippy warnings --- src/scrypt_kdf.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scrypt_kdf.rs b/src/scrypt_kdf.rs index 1c20788..202d917 100755 --- a/src/scrypt_kdf.rs +++ b/src/scrypt_kdf.rs @@ -91,7 +91,7 @@ impl<'a> ScryptKDF<'a> { secret.len() as size_t, salt.as_ptr(), salt.len() as size_t, - self.opts.n as u64, + self.opts.n, self.opts.r, self.opts.p, dk.as_mut_ptr(),