mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
gpg: Fix a recently introduced printf format buglet.
* g10/parse-packet.c (dump_sig_subpkt): Fix format error. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
9698761933
commit
b966a7c142
@ -1603,7 +1603,7 @@ dump_sig_subpkt (int hashed, int type, int critical,
|
|||||||
p = "[invalid length]";
|
p = "[invalid length]";
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
es_fprintf (listfp, "%d", length/hlen);
|
es_fprintf (listfp, "%u", (unsigned int)length/hlen);
|
||||||
while (length)
|
while (length)
|
||||||
{
|
{
|
||||||
es_fprintf (listfp, "\n\t%*s", nprinted-1, "");
|
es_fprintf (listfp, "\n\t%*s", nprinted-1, "");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user