gpg: Fix type.
authorNeal H. Walfield <neal@g10code.com>
Tue, 22 Dec 2015 14:07:51 +0000 (15:07 +0100)
committerNeal H. Walfield <neal@g10code.com>
Tue, 22 Dec 2015 14:07:51 +0000 (15:07 +0100)
* g10/keygen.c (card_write_key_to_backup_file): Change n to a size_t.

--
Signed-off-by: Neal H. Walfield <neal@g10code.com>
g10/keygen.c

index c50e04d..8bb7906 100644 (file)
@@ -3863,7 +3863,7 @@ card_write_key_to_backup_file (PKT_public_key *sk, const char *backup_dir)
     {
       unsigned char array[MAX_FINGERPRINT_LEN];
       char *fprbuf, *p;
-      int n;
+      size_t n;
       int i;
 
       iobuf_close (fp);