From 8187950bc47575533beff8a9492c1c2f5e08cba3 Mon Sep 17 00:00:00 2001 Message-Id: <8187950bc47575533beff8a9492c1c2f5e08cba3.1715305703.git.mdw@distorted.org.uk> From: Mark Wooding Date: Wed, 19 Jun 2013 10:31:20 +0100 Subject: [PATCH] server/tun-slip.c: Fix signed/unsigned char mismatch. Organization: Straylight/Edgeware From: Mark Wooding --- server/tun-slip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/tun-slip.c b/server/tun-slip.c index c945998d..85e9cd84 100644 --- a/server/tun-slip.c +++ b/server/tun-slip.c @@ -290,7 +290,7 @@ static tunnel *t_create(peer *p, int fd, char **ifn) dstr d = DSTR_INIT; unsigned char ch; tunnel *t; - static const char end[] = { SL_END, SL_END }; + static const octet end[] = { SL_END, SL_END }; /* --- Try to find a spare static interface --- */ -- [mdw]