1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-24 07:28:10 +00:00

Fix some case to make GCC on OSX happy

This commit is contained in:
jsteube 2017-02-23 12:05:35 +01:00
parent d6b843901b
commit 877b3fdc4d

View File

@ -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;
}