1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-22 22:58:30 +00:00

Fix more missing casts to uint

This commit is contained in:
jsteube 2016-01-14 20:44:11 +01:00
parent d3981ee66a
commit 497b41fee4

View File

@ -4956,10 +4956,10 @@ static uint generate_bitmaps (const uint digests_cnt, const uint dgst_size, cons
digests_buf_ptr += dgst_size;
const uint val0 = 1 << (digest_ptr[dgst_pos0] & 0x1f);
const uint val1 = 1 << (digest_ptr[dgst_pos1] & 0x1f);
const uint val2 = 1 << (digest_ptr[dgst_pos2] & 0x1f);
const uint val3 = 1 << (digest_ptr[dgst_pos3] & 0x1f);
const uint val0 = 1u << (digest_ptr[dgst_pos0] & 0x1f);
const uint val1 = 1u << (digest_ptr[dgst_pos1] & 0x1f);
const uint val2 = 1u << (digest_ptr[dgst_pos2] & 0x1f);
const uint val3 = 1u << (digest_ptr[dgst_pos3] & 0x1f);
const uint idx0 = (digest_ptr[dgst_pos0] >> dgst_shifts) & bitmap_mask;
const uint idx1 = (digest_ptr[dgst_pos1] >> dgst_shifts) & bitmap_mask;