diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-01-15 16:02:29 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-01-21 01:05:59 +0100 |
commit | 37c8eaecbdaebc62aa4c2e8671fb366d20f9bbe8 (patch) | |
tree | 97b62330682aa8a6912d8413088addbf52579c67 /tests/certificate_set_x509_crl.c | |
parent | 99ad4c6b2ab76d386be76daed0c509e62d6334c7 (diff) | |
download | gnutls-37c8eaecbdaebc62aa4c2e8671fb366d20f9bbe8.tar.gz |
Fixed signed/unsigned warnings.
Dropped opaque type (replaced with uint8_t)
Diffstat (limited to 'tests/certificate_set_x509_crl.c')
-rw-r--r-- | tests/certificate_set_x509_crl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/certificate_set_x509_crl.c b/tests/certificate_set_x509_crl.c index ffa92f1ccf..4ea93812a1 100644 --- a/tests/certificate_set_x509_crl.c +++ b/tests/certificate_set_x509_crl.c @@ -26,6 +26,7 @@ #include <stdio.h> #include <stdlib.h> +#include <stdint.h> #include <string.h> #include <gnutls/gnutls.h> #include <gnutls/x509.h> @@ -53,7 +54,7 @@ main (void) { int rc; gnutls_certificate_credentials_t crt; - gnutls_datum_t crldatum = { crl, strlen (crl) }; + gnutls_datum_t crldatum = { (uint8_t*)crl, strlen (crl) }; gnutls_x509_crl_t crl; rc = gnutls_global_init (); |