diff --git a/src/wordlist.c b/src/wordlist.c index 9e2137ca1..ef2f46a45 100644 --- a/src/wordlist.c +++ b/src/wordlist.c @@ -34,9 +34,9 @@ u32 convert_from_hex (hashcat_ctx_t *hashcat_ctx, char *line_buf, const u32 line return (i); } - if (is_hexify (line_buf, line_len) == true) + if (is_hexify ((const u8 *) line_buf, (const int) line_len) == true) { - const int new_len = exec_unhexify ((const u8 *) line_buf, (int) line_len, (u8 *) line_buf, (int) line_len); + const int new_len = exec_unhexify ((const u8 *) line_buf, (const int) line_len, (u8 *) line_buf, (const int) line_len); return (u32) new_len; }