summaryrefslogtreecommitdiff
path: root/lib/gnutls_mpi.c
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-11-12 17:44:02 +0100
committerSimon Josefsson <simon@josefsson.org>2008-11-12 17:44:02 +0100
commit5de3e6a102a80040508c88e3ca65a1baf2e7c67d (patch)
tree51a07b137d8ecb2aa3280aa17d85364c12dc58b3 /lib/gnutls_mpi.c
parent1bb69f2aecf637364e9a2b2bce331d2e8d425817 (diff)
downloadgnutls-5de3e6a102a80040508c88e3ca65a1baf2e7c67d.tar.gz
Fix warnings.
Diffstat (limited to 'lib/gnutls_mpi.c')
-rw-r--r--lib/gnutls_mpi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gnutls_mpi.c b/lib/gnutls_mpi.c
index 9b98010f2c..85579e5bd4 100644
--- a/lib/gnutls_mpi.c
+++ b/lib/gnutls_mpi.c
@@ -42,7 +42,8 @@ bigint_t
_gnutls_mpi_randomize (bigint_t r, unsigned int bits,
gnutls_rnd_level_t level)
{
- int size = 1 + (bits / 8), ret;
+ size_t size = 1 + (bits / 8);
+ int ret;
int rem, i;
bigint_t tmp;
char tmpbuf[512];