summaryrefslogtreecommitdiff
path: root/lib/gnutls_buffers.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2014-03-08 17:04:22 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2014-03-08 17:04:22 +0100
commitf225d1a0a68101409095dc1d5ef36f93a83519c1 (patch)
tree05191bb18be111d6acaad672aeeab0b69a424fd3 /lib/gnutls_buffers.c
parent422cbd3109aaef0f9e6b1ca11bbd63549fc4fcb1 (diff)
downloadgnutls-f225d1a0a68101409095dc1d5ef36f93a83519c1.tar.gz
stricter type usage
Diffstat (limited to 'lib/gnutls_buffers.c')
-rw-r--r--lib/gnutls_buffers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gnutls_buffers.c b/lib/gnutls_buffers.c
index a46a1175ca..0d81a4ec55 100644
--- a/lib/gnutls_buffers.c
+++ b/lib/gnutls_buffers.c
@@ -1310,7 +1310,7 @@ _gnutls_handshake_io_recv_int(gnutls_session_t session,
return gnutls_assert_val(ret);
}
- if (htype != (unsigned) -1) {
+ if (htype != (gnutls_handshake_description_t) -1) {
ret = handshake_remaining_time(session);
if (ret < 0)
return gnutls_assert_val(ret);