From 0907db4855afff836e7c4b548823f9440bfb15bc Mon Sep 17 00:00:00 2001 From: Stefan Bellon Date: Wed, 13 Nov 2002 21:49:57 +0000 Subject: [PATCH] fixed type incompatibility --- g10/ChangeLog | 5 +++++ g10/getkey.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/g10/ChangeLog b/g10/ChangeLog index 1f49dc691..1a1f976d4 100644 --- a/g10/ChangeLog +++ b/g10/ChangeLog @@ -1,3 +1,8 @@ +2002-11-13 Stefan Bellon + + * getkey.c (get_pubkey_byfprint_fast): Fixed type incompatibility, + was unsigned char instead of byte. + 2002-11-13 David Shaw * encode.c (encode_simple): Make sure that files larger than about diff --git a/g10/getkey.c b/g10/getkey.c index 5bb2d2263..93ef8b04f 100644 --- a/g10/getkey.c +++ b/g10/getkey.c @@ -919,7 +919,7 @@ get_pubkey_byfprint_fast (PKT_public_key *pk, int rc = 0; KEYDB_HANDLE hd; KBNODE keyblock; - unsigned char fprbuf[MAX_FINGERPRINT_LEN]; + byte fprbuf[MAX_FINGERPRINT_LEN]; int i; for (i=0; i < MAX_FINGERPRINT_LEN && i < fprint_len; i++)