From dd0916d7f77a745a12efca8f1e0a3254a100d0ee Mon Sep 17 00:00:00 2001 From: Erik Ekman Date: Sat, 28 Mar 2009 15:55:38 +0000 Subject: [PATCH] Use ssize_t for read variable (ticket #57) --- src/iodine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iodine.c b/src/iodine.c index b21300b..a5ee9ca 100644 --- a/src/iodine.c +++ b/src/iodine.c @@ -231,7 +231,7 @@ tunnel_tun(int tun_fd, int dns_fd) unsigned long inlen; char out[64*1024]; char in[64*1024]; - size_t read; + ssize_t read; if ((read = read_tun(tun_fd, in, sizeof(in))) <= 0) return -1;