Fix type used in bytes_hashed addition

`length` was changed to `bytes_hashed` and the type changed from `usize`
to `u64`.

The addition under the `hashes_fuzz` feature flag has been changed from
`usize` to `u64` to fix the fuzz error.
This commit is contained in:
Jamil Lambert, PhD 2024-10-09 16:00:06 +01:00
parent d37b8a5dd2
commit 1f8fdc6ccb
No known key found for this signature in database
GPG Key ID: 54DC29234AB5D2C0
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ macro_rules! engine_input_impl(
for c in inp {
self.buffer[0] ^= *c;
}
self.bytes_hashed += inp.len();
self.bytes_hashed += inp.len() as u64;
}
)
);