diff options
author | David Shaw <[email protected]> | 2001-12-12 19:31:13 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2001-12-12 19:31:13 +0000 |
commit | ed32beee67bb3b3a81b6e367e81cd572cdbacf07 (patch) | |
tree | e1009957d6551ac96da588a1510d03127183df64 | |
parent | PGP2 patch. --pgp2 sets things up for pgp2 compatibility, and prints a (diff) | |
download | gnupg-ed32beee67bb3b3a81b6e367e81cd572cdbacf07.tar.gz gnupg-ed32beee67bb3b3a81b6e367e81cd572cdbacf07.zip |
Fixed some types for portability. Noted by Stefan Bellon.
-rw-r--r-- | g10/ChangeLog | 4 | ||||
-rw-r--r-- | g10/keylist.c | 5 |
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. */ |