From ece462d4096cf60b50bc46a715ff84789ff23a7f Mon Sep 17 00:00:00 2001 From: Martin Peach Date: Mon, 4 Dec 2006 20:18:05 +0000 Subject: make sure bytes > 127 are not interpreted as negative. svn path=/trunk/externals/mrpeach/; revision=6615 --- net/udpsend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/udpsend.c b/net/udpsend.c index 2ca7f25..be95d78 100755 --- a/net/udpsend.c +++ b/net/udpsend.c @@ -108,7 +108,7 @@ static void udpsend_send(t_udpsend *x, t_symbol *s, int argc, t_atom *argv) static char byte_buf[BYTE_BUF_LEN]; int d; int i, j; - char c; + unsigned char c; float f, e; char *bp; int length, sent; -- cgit v1.2.1