From 877b3fdc4db4f249a4b5cf1a0909e2293d563ca5 Mon Sep 17 00:00:00 2001 From: jsteube Date: Thu, 23 Feb 2017 12:05:35 +0100 Subject: [PATCH] Fix some case to make GCC on OSX happy --- src/wordlist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }