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(),