summaryrefslogtreecommitdiff
path: root/tests/infoaccess.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-01-15 16:02:29 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-01-21 01:05:59 +0100
commit37c8eaecbdaebc62aa4c2e8671fb366d20f9bbe8 (patch)
tree97b62330682aa8a6912d8413088addbf52579c67 /tests/infoaccess.c
parent99ad4c6b2ab76d386be76daed0c509e62d6334c7 (diff)
downloadgnutls-37c8eaecbdaebc62aa4c2e8671fb366d20f9bbe8.tar.gz
Fixed signed/unsigned warnings.
Dropped opaque type (replaced with uint8_t)
Diffstat (limited to 'tests/infoaccess.c')
-rw-r--r--tests/infoaccess.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/infoaccess.c b/tests/infoaccess.c
index 7273c15b7b..073e54f21d 100644
--- a/tests/infoaccess.c
+++ b/tests/infoaccess.c
@@ -69,7 +69,7 @@ static char cert_with_aia_data[] =
"-----END CERTIFICATE-----\n";
const gnutls_datum_t cert_with_aia = {
- cert_with_aia_data, sizeof (cert_with_aia_data)
+ (void*)cert_with_aia_data, sizeof (cert_with_aia_data)
};
void
@@ -78,7 +78,7 @@ doit (void)
gnutls_x509_crt_t crt;
int ret;
gnutls_datum_t data;
- int critical;
+ unsigned int critical;
ret = gnutls_global_init ();
if (ret < 0)