2003-07-31 Marcus Brinkmann <marcus@g10code.de>

* gpg/t-verify.c (check_result): Change type of SUMMARY to
	unsigned int.
	* gpg/t-decrypt-verify.c (check_verify_result): Likewise.
	* gpg/t-keylist-sig.c (keys): Change type of member CLASS to
	unsigned int.
	* t-data.c (read_cb): Change type of AMOUNT to unsigned int.
	* t-version.c (version): Remove unused variable.
This commit is contained in:
Marcus Brinkmann 2003-07-31 15:44:32 +00:00
parent f4c25d034c
commit 51c384409e
6 changed files with 15 additions and 7 deletions

View File

@ -1,3 +1,13 @@
2003-07-31 Marcus Brinkmann <marcus@g10code.de>
* gpg/t-verify.c (check_result): Change type of SUMMARY to
unsigned int.
* gpg/t-decrypt-verify.c (check_verify_result): Likewise.
* gpg/t-keylist-sig.c (keys): Change type of member CLASS to
unsigned int.
* t-data.c (read_cb): Change type of AMOUNT to unsigned int.
* t-version.c (version): Remove unused variable.
2003-07-22 Marcus Brinkmann <marcus@g10code.de> 2003-07-22 Marcus Brinkmann <marcus@g10code.de>
* Makefile.am (AM_CPPFLAGS): New variable. * Makefile.am (AM_CPPFLAGS): New variable.

View File

@ -30,8 +30,8 @@
static void static void
check_verify_result (gpgme_verify_result_t result, int summary, char *fpr, check_verify_result (gpgme_verify_result_t result, unsigned int summary,
gpgme_error_t status) char *fpr, gpgme_error_t status)
{ {
gpgme_signature_t sig; gpgme_signature_t sig;

View File

@ -43,7 +43,7 @@ struct
char *name; char *name;
char *comment; char *comment;
char *email; char *email;
int class; unsigned int class;
int exportable; int exportable;
} sig; } sig;
} uid[3]; } uid[3];

View File

@ -71,7 +71,7 @@ static const char test_sig2[] =
static void static void
check_result (gpgme_verify_result_t result, int summary, char *fpr, check_result (gpgme_verify_result_t result, unsigned int summary, char *fpr,
gpgme_error_t status, int notation) gpgme_error_t status, int notation)
{ {
gpgme_signature_t sig; gpgme_signature_t sig;

View File

@ -77,7 +77,7 @@ int
read_cb (void *cb_value, char *buffer, size_t count, size_t *nread) read_cb (void *cb_value, char *buffer, size_t count, size_t *nread)
{ {
static int off = 0; static int off = 0;
int amount = strlen (text) - off; unsigned int amount = strlen (text) - off;
/* round_t round = *((round_t *) cb_value); */ /* round_t round = *((round_t *) cb_value); */
if (!buffer && !count && !nread) if (!buffer && !count && !nread)

View File

@ -26,8 +26,6 @@
#include <gpgme.h> #include <gpgme.h>
static const char version[] = VERSION;
int int
main (int argc, char **argv) main (int argc, char **argv)
{ {