1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-23 07:08:19 +00:00

Merge pull request #1604 from magnumripper/master

Mute a macOS -Wpointer-sign warning.
This commit is contained in:
Jens Steube 2018-06-27 11:37:15 +02:00 committed by GitHub
commit 7a408d9824
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -500,7 +500,7 @@ int _old_apply_rule (const char *rule, int rule_len, char in[RP_PASSWORD_SIZE],
{
if (is_hex_notation (rule_new, rule_len, rule_pos))
{
const u8 c = hex_to_u8 (rule_new + rule_pos + 2);
const u8 c = hex_to_u8 ((u8 *)rule_new + rule_pos + 2);
rule_new[rule_pos + 0] = c;
rule_new[rule_pos + 1] = ' ';