diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-08-09 08:25:39 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-08-09 08:25:39 +0000 |
commit | 02c6fde11eb506b5e8b535d9460fb3043d311c5f (patch) | |
tree | affb9cadef3f3e3ac4d17645524c2846ec92e195 | |
parent | d003f6e125f5587594d453b6c2001f056c214c29 (diff) |
made telrcv() take a ssize_t argument instead of int to better match other
functions (and prevent warnings)
-rw-r--r-- | lib/telnet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/telnet.c b/lib/telnet.c index f5381aa74..1d5cdf64a 100644 --- a/lib/telnet.c +++ b/lib/telnet.c @@ -108,7 +108,7 @@ static CURLcode check_wsock2 ( struct SessionHandle *data ); static void telrcv(struct connectdata *, unsigned char *inbuf, /* Data received from socket */ - int count); /* Number of bytes received */ + ssize_t count); /* Number of bytes received */ static void printoption(struct SessionHandle *data, const char *direction, @@ -899,7 +899,7 @@ static void suboption(struct connectdata *conn) static void telrcv(struct connectdata *conn, unsigned char *inbuf, /* Data received from socket */ - int count) /* Number of bytes received */ + ssize_t count) /* Number of bytes received */ { unsigned char c; int in = 0; |