From a1ec246c8dbf3523521146811c5a5f8edb696642 Mon Sep 17 00:00:00 2001 From: Jens Steube Date: Fri, 10 Sep 2021 20:34:42 +0200 Subject: [PATCH] Fix format string template in -m 27700 --- src/modules/module_27700.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/module_27700.c b/src/modules/module_27700.c index 7e2c4bc53..4bd32efdc 100644 --- a/src/modules/module_27700.c +++ b/src/modules/module_27700.c @@ -400,7 +400,7 @@ int module_hash_decode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSE int module_hash_encode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const void *digest_buf, MAYBE_UNUSED const salt_t *salt, MAYBE_UNUSED const void *esalt_buf, MAYBE_UNUSED const void *hook_salt_buf, MAYBE_UNUSED const hashinfo_t *hash_info, char *line_buf, MAYBE_UNUSED const int line_size) { - const int line_len = snprintf (line_buf, line_size, "%s%u*%lu*%lu*%lu*%08x%08x*%08x%08x%08x%08x%08x%08x%08x%08x", + const int line_len = snprintf (line_buf, line_size, "%s%u*%" PRIu64 "*%" PRIu64 "*%" PRIu64 "*%08x%08x*%08x%08x%08x%08x%08x%08x%08x%08x", SIGNATURE_MULTIBIT, 3, SCRYPT_N,