diff --git a/tests/ChangeLog b/tests/ChangeLog index 2be0e0a1..06267512 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -2,6 +2,9 @@ * gpg/t-sign.c (check_result): Change output format for signature class to unsigned int. + * gpg/t-signers.c (check_result): Likewise. + * gpg/t-encrypt-sign.c (check_result): Likewise. + * gpgsm/t-sign.c (check_result): Likewise. 2003-07-31 Marcus Brinkmann diff --git a/tests/gpg/t-encrypt-sign.c b/tests/gpg/t-encrypt-sign.c index 96aebda0..858a99c3 100644 --- a/tests/gpg/t-encrypt-sign.c +++ b/tests/gpg/t-encrypt-sign.c @@ -61,7 +61,7 @@ check_result (gpgme_sign_result_t result, gpgme_sig_mode_t type) } if (result->signatures->class != 0) { - fprintf (stderr, "Wrong signature class reported: %lu\n", + fprintf (stderr, "Wrong signature class reported: %u\n", result->signatures->class); exit (1); } diff --git a/tests/gpg/t-signers.c b/tests/gpg/t-signers.c index 1f2e48f9..d74d4479 100644 --- a/tests/gpg/t-signers.c +++ b/tests/gpg/t-signers.c @@ -68,7 +68,7 @@ check_result (gpgme_sign_result_t result, gpgme_sig_mode_t type) } if (signature->class != 1) { - fprintf (stderr, "Wrong signature class reported: %lu\n", + fprintf (stderr, "Wrong signature class reported: %u\n", signature->class); exit (1); } diff --git a/tests/gpgsm/t-sign.c b/tests/gpgsm/t-sign.c index d346b9e3..5fd6f069 100644 --- a/tests/gpgsm/t-sign.c +++ b/tests/gpgsm/t-sign.c @@ -59,7 +59,7 @@ check_result (gpgme_sign_result_t result, gpgme_sig_mode_t type) } if (result->signatures->class != 0) { - fprintf (stderr, "Wrong signature class reported: %lu\n", + fprintf (stderr, "Wrong signature class reported: %u\n", result->signatures->class); exit (1); }