summaryrefslogtreecommitdiffstats
path: root/g10/keylist.c
diff options
context:
space:
mode:
authorDavid Shaw <dshaw@jabberwocky.com>2002-07-01 18:47:22 +0200
committerDavid Shaw <dshaw@jabberwocky.com>2002-07-01 18:47:22 +0200
commitdb765c90d835d62ea13c2e6b7ecd1b839f658126 (patch)
treed5e7d32411907ee942cc7271e3b292670252b545 /g10/keylist.c
parent* packet.h, build-packet.c (build_attribute_subpkt), exec.c (expand_args), (diff)
downloadgnupg2-db765c90d835d62ea13c2e6b7ecd1b839f658126.tar.xz
gnupg2-db765c90d835d62ea13c2e6b7ecd1b839f658126.zip
* options.skel: Fix a few typos, clarify "group", and remove sample photo
viewers for Win32 since they are the defaults now. * parse-packet.c (make_attribute_uidname), keylist.c (dump_attribs): Fix two typecast warnings.
Diffstat (limited to 'g10/keylist.c')
-rw-r--r--g10/keylist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/keylist.c b/g10/keylist.c
index e226ee071..7a15c9b5c 100644
--- a/g10/keylist.c
+++ b/g10/keylist.c
@@ -373,7 +373,7 @@ static void dump_attribs(const PKT_user_id *uid,
sprintf(buf+2*j, "%02X", *p );
sprintf(buf+strlen(buf)," %lu %u %u %u %lu %lu %u",
- uid->attribs[i].len,uid->attribs[i].type,i+1,
+ (ulong)uid->attribs[i].len,uid->attribs[i].type,i+1,
uid->numattribs,(ulong)uid->created,(ulong)uid->expiredate,
((uid->is_primary?0x01:0)|
(uid->is_revoked?0x02:0)|