summaryrefslogtreecommitdiff
path: root/lib/ext
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-09-28 13:14:31 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-09-28 17:47:46 +0200
commit80e3fa56f4f99008b523491f4d758de7a68ff777 (patch)
treecefa8438caa039eddcdb5f53de2abc4453c6bedc /lib/ext
parent62626bc19ec159eaccacc0fafc74cfa97b1e4352 (diff)
downloadgnutls-80e3fa56f4f99008b523491f4d758de7a68ff777.tar.gz
Corrected signed-to-unsigned comparisons
Diffstat (limited to 'lib/ext')
-rw-r--r--lib/ext/max_record.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ext/max_record.c b/lib/ext/max_record.c
index 002c306d8c..9e2c42311b 100644
--- a/lib/ext/max_record.c
+++ b/lib/ext/max_record.c
@@ -118,7 +118,7 @@ _gnutls_max_record_recv_params (gnutls_session_t session,
new_size = _gnutls_mre_num2record (data[0]);
- if (new_size < 0 || new_size != epriv.num)
+ if (new_size < 0 || new_size != (ssize_t)epriv.num)
{
gnutls_assert ();
return GNUTLS_E_RECEIVED_ILLEGAL_PARAMETER;