summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/reqs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reqs.c b/src/reqs.c
index a3d8162..86039bc 100644
--- a/src/reqs.c
+++ b/src/reqs.c
@@ -1270,8 +1270,8 @@ static void relay_connection (struct conn_s *connptr)
static int
connect_to_upstream_proxy(struct conn_s *connptr, struct request_s *request)
{
- int len;
- char buff[512]; /* won't use more than 7 + 255 */
+ unsigned len;
+ unsigned char buff[512]; /* won't use more than 7 + 255 */
unsigned short port;
struct hostent *host;
struct upstream *cur_upstream = connptr->upstream_proxy;