aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--g10/ChangeLog4
-rw-r--r--g10/keylist.c5
2 files changed, 7 insertions, 2 deletions
diff --git a/g10/ChangeLog b/g10/ChangeLog
index 7c5cd3c32..55a86fdc4 100644
--- a/g10/ChangeLog
+++ b/g10/ChangeLog
@@ -1,3 +1,7 @@
+2001-12-12 David Shaw <[email protected]>
+
+ * Fixed some types for portability. Noted by Stefan Bellon.
+
2001-12-07 David Shaw <[email protected]>
* g10.c, options.h: New option --pgp2. This is identical to
diff --git a/g10/keylist.c b/g10/keylist.c
index 9994aa6e8..fa705bfa3 100644
--- a/g10/keylist.c
+++ b/g10/keylist.c
@@ -67,7 +67,7 @@ void
show_policy_url(PKT_signature *sig)
{
const byte *p;
- int len;
+ size_t len;
p=parse_sig_subpkt(sig->hashed,SIGSUBPKT_POLICY,&len);
if(p)
@@ -83,7 +83,8 @@ void
show_notation(PKT_signature *sig)
{
const byte *p;
- int len,seq=0;
+ size_t len;
+ int seq=0;
/* There may be multiple notations in the same sig. */