--- 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; }