summaryrefslogtreecommitdiff
blob: 74142babbc3ede194f1312ed62312c91ff900c03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- gpgme/gpgmeplug.c
+++ gpgme/gpgmeplug.c	2003/02/21 15:56:32
@@ -1776,7 +1776,7 @@
     GpgmeError err;
     GpgmeCtx ctx;
     GpgmeData pub;
-    int len;
+    size_t len;
 
     err = gpgme_data_new (&pub);
     fprintf( stderr,  "1: gpgme returned %d\n", err );
@@ -1803,7 +1803,7 @@
 
     gpgme_release (ctx);
     *generatedKey = gpgme_data_release_and_get_mem (pub, &len);
-    *length = len;
+    *length = (int)len;
 
     return true;
 }