From 068e088a8b4c53d69740fcfcf43730c61ea50bd8 Mon Sep 17 00:00:00 2001 From: rofl0r Date: Fri, 3 Aug 2012 10:43:59 +0200 Subject: [PATCH] tunnel_to: use better suited type --- src/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core.c b/src/core.c index f94f378..b5fa99d 100644 --- a/src/core.c +++ b/src/core.c @@ -413,7 +413,7 @@ static int tunnel_to(int sock, ip_type ip, unsigned short port, proxy_type pt, c char in[2]; char out[515]; char *cur = out; - int c; + size_t c; *cur++ = 1; // version c = ulen & 0xFF; *cur++ = c;