diff options
author | Martin Peach <mrpeach@users.sourceforge.net> | 2011-03-02 18:23:36 +0000 |
---|---|---|
committer | Martin Peach <mrpeach@users.sourceforge.net> | 2011-03-02 18:23:36 +0000 |
commit | adbfe2d84c5030dbb771c119c613d6a0699c5ce7 (patch) | |
tree | 69a3e41a5dde14ece0d56a27f9b1965f376d190c | |
parent | 30c72f95796b2936bec99fe4a96d1f6e1c367f11 (diff) |
Made the input buffer unsigned so bytes > 127 will be interpreted as positive.
svn path=/trunk/externals/mrpeach/; revision=14994
-rw-r--r-- | net/tcpreceive.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |