From: Marcus Brinkmann Date: Thu, 31 Jul 2003 15:44:32 +0000 (+0000) Subject: 2003-07-31 Marcus Brinkmann X-Git-Tag: gpgme-1.2.0@1385~562 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6ea4c031c546451040ab46212308448b3340b6b4;p=gpgme.git 2003-07-31 Marcus Brinkmann * 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. --- diff --git a/trunk/tests/ChangeLog b/trunk/tests/ChangeLog index 2313453..99a0a45 100644 --- a/trunk/tests/ChangeLog +++ b/trunk/tests/ChangeLog @@ -1,3 +1,13 @@ +2003-07-31 Marcus Brinkmann + + * 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 * Makefile.am (AM_CPPFLAGS): New variable. diff --git a/trunk/tests/gpg/t-decrypt-verify.c b/trunk/tests/gpg/t-decrypt-verify.c index 9f45fff..a9c04af 100644 --- a/trunk/tests/gpg/t-decrypt-verify.c +++ b/trunk/tests/gpg/t-decrypt-verify.c @@ -30,8 +30,8 @@ static void -check_verify_result (gpgme_verify_result_t result, int summary, char *fpr, - gpgme_error_t status) +check_verify_result (gpgme_verify_result_t result, unsigned int summary, + char *fpr, gpgme_error_t status) { gpgme_signature_t sig; diff --git a/trunk/tests/gpg/t-keylist-sig.c b/trunk/tests/gpg/t-keylist-sig.c index 1a89768..88549d2 100644 --- a/trunk/tests/gpg/t-keylist-sig.c +++ b/trunk/tests/gpg/t-keylist-sig.c @@ -43,7 +43,7 @@ struct char *name; char *comment; char *email; - int class; + unsigned int class; int exportable; } sig; } uid[3]; diff --git a/trunk/tests/gpg/t-verify.c b/trunk/tests/gpg/t-verify.c index 74d333f..b4912e3 100644 --- a/trunk/tests/gpg/t-verify.c +++ b/trunk/tests/gpg/t-verify.c @@ -71,7 +71,7 @@ static const char test_sig2[] = 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_signature_t sig; diff --git a/trunk/tests/t-data.c b/trunk/tests/t-data.c index 882ffc8..d7950ad 100644 --- a/trunk/tests/t-data.c +++ b/trunk/tests/t-data.c @@ -77,7 +77,7 @@ int read_cb (void *cb_value, char *buffer, size_t count, size_t *nread) { static int off = 0; - int amount = strlen (text) - off; + unsigned int amount = strlen (text) - off; /* round_t round = *((round_t *) cb_value); */ if (!buffer && !count && !nread) diff --git a/trunk/tests/t-version.c b/trunk/tests/t-version.c index 04cb174..5778b6b 100644 --- a/trunk/tests/t-version.c +++ b/trunk/tests/t-version.c @@ -26,8 +26,6 @@ #include -static const char version[] = VERSION; - int main (int argc, char **argv) {