summaryrefslogtreecommitdiffstats
path: root/kbx
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2006-11-20 17:49:41 +0100
committerWerner Koch <wk@gnupg.org>2006-11-20 17:49:41 +0100
commit5885142c83823b153689acd272103403127a3cd3 (patch)
tree514e8325f9201775785b3249b176e9ac051776ff /kbx
parentNo need for thsi script. Use ./autogen.sh --build-w32 instead. (diff)
downloadgnupg2-5885142c83823b153689acd272103403127a3cd3.tar.xz
gnupg2-5885142c83823b153689acd272103403127a3cd3.zip
Made some PIN pads work.
Some cleanups for 64 bit CPUs.
Diffstat (limited to 'kbx')
-rw-r--r--kbx/ChangeLog4
-rw-r--r--kbx/kbxutil.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/kbx/ChangeLog b/kbx/ChangeLog
index 52962eae0..bb1a38aa3 100644
--- a/kbx/ChangeLog
+++ b/kbx/ChangeLog
@@ -1,3 +1,7 @@
+2006-11-15 Werner Koch <wk@g10code.com>
+
+ * kbxutil.c (dump_openpgp_key): Cast printf argument.
+
2006-10-20 Werner Koch <wk@g10code.com>
* keybox-search.c (blob_x509_has_grip, has_keygrip): New.
diff --git a/kbx/kbxutil.c b/kbx/kbxutil.c
index 19d356007..73d10e348 100644
--- a/kbx/kbxutil.c
+++ b/kbx/kbxutil.c
@@ -367,7 +367,7 @@ dump_openpgp_key (keybox_openpgp_info_t info, const unsigned char *image)
u = &info->uids;
do
{
- printf ("uid\t\t%.*s\n", u->len, image + u->off);
+ printf ("uid\t\t%.*s\n", (int)u->len, image + u->off);
u = u->next;
}
while (u);