From 72050ee796fbdb10ddc5ce06cd82be12e6455899 Mon Sep 17 00:00:00 2001 From: jsteube Date: Thu, 14 Feb 2019 13:17:16 +0100 Subject: [PATCH] Fix a warning in -m 3100 --- src/modules/module_03100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/module_03100.c b/src/modules/module_03100.c index d9882dd7f..627d08a95 100644 --- a/src/modules/module_03100.c +++ b/src/modules/module_03100.c @@ -98,7 +98,7 @@ int module_hash_encode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSE line_len += 1; - line_len += generic_salt_encode (hashconfig, (const u8 *) salt->salt_buf, (const int) salt->salt_len, line_buf + line_len); + line_len += generic_salt_encode (hashconfig, (const u8 *) salt->salt_buf, (const int) salt->salt_len, (u8 *) line_buf + line_len); return line_len; }