From adbfe2d84c5030dbb771c119c613d6a0699c5ce7 Mon Sep 17 00:00:00 2001
From: Martin Peach <mrpeach@users.sourceforge.net>
Date: Wed, 2 Mar 2011 18:23:36 +0000
Subject: Made the input buffer unsigned so bytes > 127 will be interpreted as
 positive.

svn path=/trunk/externals/mrpeach/; revision=14994
---
 net/tcpreceive.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'net')

diff --git a/net/tcpreceive.c b/net/tcpreceive.c
index 418e77b..feb2234 100644
--- a/net/tcpreceive.c
+++ b/net/tcpreceive.c
@@ -44,7 +44,7 @@ typedef struct _tcpreceive
 	t_tcpconnection x_connection[MAX_CONNECTIONS];
     t_atom          x_addrbytes[5];
     t_atom          x_msgoutbuf[MAX_UDP_RECEIVE];
-    char            x_msginbuf[MAX_UDP_RECEIVE];
+    unsigned char   x_msginbuf[MAX_UDP_RECEIVE];
 } t_tcpreceive;
 
 void tcpreceive_setup(void);
-- 
cgit v1.2.1