Fix some case to make GCC on OSX happy

pull/1128/head
jsteube 7 years ago
parent d6b843901b
commit 877b3fdc4d

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

Loading…
Cancel
Save