diff options
author | Gunter Knauf <gk@gknw.de> | 2009-08-30 01:36:01 +0000 |
---|---|---|
committer | Gunter Knauf <gk@gknw.de> | 2009-08-30 01:36:01 +0000 |
commit | e7f81d59b085c141f64fb14b6a7c60493929e951 (patch) | |
tree | f137d7422591d5870966a44a17990598cffaa373 | |
parent | f1320d67334c59461e312b1da18e7add2ad33b1e (diff) |
add casts to silent compiler warnings with 64bit systems.
-rw-r--r-- | lib/gtls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gtls.c b/lib/gtls.c index 81748306e..bfa4347bf 100644 --- a/lib/gtls.c +++ b/lib/gtls.c @@ -676,7 +676,7 @@ void Curl_gtls_close(struct connectdata *conn, int sockindex) */ int Curl_gtls_shutdown(struct connectdata *conn, int sockindex) { - int result; + ssize_t result; int retval = 0; struct SessionHandle *data = conn->data; int done = 0; @@ -776,7 +776,7 @@ ssize_t Curl_gtls_recv(struct connectdata *conn, /* connection data */ if(ret < 0) { failf(conn->data, "GnuTLS recv error (%d): %s", - (int)ret, gnutls_strerror(ret)); + (int)ret, gnutls_strerror((int)ret)); return -1; } |