diff options
author | Werner Koch <[email protected]> | 2019-09-27 13:57:52 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2019-09-27 13:57:52 +0000 |
commit | b966a7c142ab6341f4149d55e2609dbb9914acec (patch) | |
tree | 4803b5e5dafe063ea8af08f59cf50cca08f884d9 /g10/parse-packet.c | |
parent | Merge branch 'switch-to-gpgk' into master (diff) | |
download | gnupg-b966a7c142ab6341f4149d55e2609dbb9914acec.tar.gz gnupg-b966a7c142ab6341f4149d55e2609dbb9914acec.zip |
gpg: Fix a recently introduced printf format buglet.
* g10/parse-packet.c (dump_sig_subpkt): Fix format error.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/parse-packet.c')
-rw-r--r-- | g10/parse-packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/parse-packet.c b/g10/parse-packet.c index 874ff76b0..2f92c1d2c 100644 --- a/g10/parse-packet.c +++ b/g10/parse-packet.c @@ -1603,7 +1603,7 @@ dump_sig_subpkt (int hashed, int type, int critical, p = "[invalid length]"; else { - es_fprintf (listfp, "%d", length/hlen); + es_fprintf (listfp, "%u", (unsigned int)length/hlen); while (length) { es_fprintf (listfp, "\n\t%*s", nprinted-1, ""); |