From cbdb94facec23c66b4f9e889b2b6360dfe9f09c1 Mon Sep 17 00:00:00 2001 From: Francisco Gil Date: Tue, 4 Jul 2023 11:25:07 +0200 Subject: [PATCH] caam: fix compilation error for 64 bit systems Signed-off-by: Francisco Gil --- caam-blob-example/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caam-blob-example/main.c b/caam-blob-example/main.c index feac161..9889183 100644 --- a/caam-blob-example/main.c +++ b/caam-blob-example/main.c @@ -198,7 +198,7 @@ int main(int argc, char *argv[]) /* this is a limitation of the current driver implementation */ if (input_len > max_input_len) { fprintf(stderr, "[ERROR] Input is too big, continuing may result in unexpected behavior.\n" - "[ERROR] The maximum input size for %s is %u bytes.\n", + "[ERROR] The maximum input size for %s is %zu bytes.\n", op == ENCRYPT ? "encryption" : "decryption", max_input_len); return EXIT_FAILURE; }