summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2011-04-08 00:00:45 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2011-04-08 00:00:45 +0200
commitf783a67348ea424c285a169e34ed65ad35932ed0 (patch)
tree1cb173a4286b0ca953d79d85e4611f24621c5e26 /lib
parent2855740765b99b9b4c4288a13133b30ec84a64c0 (diff)
downloadgnutls-f783a67348ea424c285a169e34ed65ad35932ed0.tar.gz
Fixed mismatch in size_t size. Patch by LRN.
Diffstat (limited to 'lib')
-rw-r--r--lib/x509/output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/x509/output.c b/lib/x509/output.c
index a3e62f24a7..a49ae9543f 100644
--- a/lib/x509/output.c
+++ b/lib/x509/output.c
@@ -742,7 +742,7 @@ print_unique_ids (gnutls_buffer_st * str, const gnutls_x509_crt_t cert)
{
int result;
char buf[256]; /* if its longer, we won't bother to print it */
- ssize_t buf_size = 256;
+ size_t buf_size = 256;
result = gnutls_x509_crt_get_issuer_unique_id (cert, buf, &buf_size);
if (result >= 0)