diff options
author | David Shaw <[email protected]> | 2002-07-01 16:40:52 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2002-07-01 16:40:52 +0000 |
commit | b672df87d69704bacb721a25a4728dccd5c357ab (patch) | |
tree | 9b5892d960b2dffd7134936e8ee8fd4f7f81e0e8 /g10/packet.h | |
parent | typo fix. (diff) | |
download | gnupg-b672df87d69704bacb721a25a4728dccd5c357ab.tar.gz gnupg-b672df87d69704bacb721a25a4728dccd5c357ab.zip |
* packet.h, build-packet.c (build_attribute_subpkt), exec.c (expand_args),
mkdtemp.c (mkdtemp), photoid.c (parse_image_header): Fix some signedness
compiler warnings.
Diffstat (limited to 'g10/packet.h')
-rw-r--r-- | g10/packet.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/g10/packet.h b/g10/packet.h index 023680b9e..79d6dfa1b 100644 --- a/g10/packet.h +++ b/g10/packet.h @@ -154,7 +154,7 @@ typedef struct { struct user_attribute { byte type; const byte *data; - unsigned long len; + u32 len; }; typedef struct { @@ -413,8 +413,8 @@ void build_sig_subpkt( PKT_signature *sig, sigsubpkttype_t type, void build_sig_subpkt_from_sig( PKT_signature *sig ); int delete_sig_subpkt(subpktarea_t *buffer, sigsubpkttype_t type ); void build_attribute_subpkt(PKT_user_id *uid,byte type, - const void *buf,int buflen, - const void *header,int headerlen); + const void *buf,u32 buflen, + const void *header,u32 headerlen); /*-- free-packet.c --*/ void free_symkey_enc( PKT_symkey_enc *enc ); |