summaryrefslogtreecommitdiffstats
path: root/g10/photoid.c
diff options
context:
space:
mode:
authorDavid Shaw <dshaw@jabberwocky.com>2002-07-01 18:40:52 +0200
committerDavid Shaw <dshaw@jabberwocky.com>2002-07-01 18:40:52 +0200
commitb672df87d69704bacb721a25a4728dccd5c357ab (patch)
tree9b5892d960b2dffd7134936e8ee8fd4f7f81e0e8 /g10/photoid.c
parenttypo fix. (diff)
downloadgnupg2-b672df87d69704bacb721a25a4728dccd5c357ab.tar.xz
gnupg2-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/photoid.c')
-rw-r--r--g10/photoid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/photoid.c b/g10/photoid.c
index fb7f7b91f..8a9101d36 100644
--- a/g10/photoid.c
+++ b/g10/photoid.c
@@ -158,7 +158,7 @@ PKT_user_id *generate_photo_id(PKT_public_key *pk)
/* Returns 0 for error, 1 for valid */
int parse_image_header(const struct user_attribute *attr,byte *type,u32 *len)
{
- int headerlen;
+ u16 headerlen;
if(attr->len<3)
return 0;