1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

gpg: Fix format string in gpgcompose.c

--

For size_t  use "%zu"
For ssize_t use "%zd"

Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
Werner Koch 2018-11-11 12:20:34 +01:00
parent b3095c95ef
commit bbed4746ed
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -2292,7 +2292,7 @@ sk_esk (const char *option, int argc, char *argv[], void *cookie)
log_fatal ("encrypt_seskey failed: %s\n", gpg_strerror (err));
if (enckeylen - 1 > sesdek.keylen)
log_fatal ("key size is too big: %z\n", enckeylen);
log_fatal ("key size is too big: %zu\n", enckeylen);
else
{
ske->seskeylen = (byte)enckeylen;