Fix handling of printf format specifiers

This commit is contained in:
olszomal
2024-02-27 09:57:34 +01:00
committed by Michał Trojnara
parent 86a594b087
commit 105fd3af4a
2 changed files with 23 additions and 11 deletions

View File

@ -680,7 +680,7 @@ static SCRIPT_CTX *script_ctx_get(char *indata, uint32_t filesize, const SCRIPT_
line_pos++; /* we can ignore lines longer than our buffer */
}
}
printf("Signature position: %ld\n", sig_pos);
printf("Signature position: %zu\n", sig_pos);
script_ctx = OPENSSL_malloc(sizeof(SCRIPT_CTX));
script_ctx->comment_text = comment;