From d00625dae60f26617d2e1bd4f22c6b35a4e92c91 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 4 May 2016 11:04:43 +0200 Subject: Some minor string changes and fixed a printf format. * g10/build-packet.c (notation_value_to_human_readable_string): Use %zu for size_t. Signed-off-by: Werner Koch --- g10/build-packet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g10/build-packet.c') diff --git a/g10/build-packet.c b/g10/build-packet.c index 4d6d4afbb..9b6496766 100644 --- a/g10/build-packet.c +++ b/g10/build-packet.c @@ -1088,7 +1088,7 @@ notation_value_to_human_readable_string (struct notation *notation) preview[i] = '?'; preview[i] = 0; - return xasprintf (_("[ not human readable (%zd bytes: %s%s) ]"), + return xasprintf (_("[ not human readable (%zu bytes: %s%s) ]"), len, preview, i < len ? "..." : ""); } else -- cgit v1.2.3