aboutsummaryrefslogtreecommitdiff
path: root/net/udpsend.c
diff options
context:
space:
mode:
authorMartin Peach <mrpeach@users.sourceforge.net>2006-12-04 20:18:05 +0000
committerMartin Peach <mrpeach@users.sourceforge.net>2006-12-04 20:18:05 +0000
commitece462d4096cf60b50bc46a715ff84789ff23a7f (patch)
tree73bff7f5777aaefb40bdd8e342fb77d9a2f9bc27 /net/udpsend.c
parent02b17199a31530fd987ccc8e0d40a885791d6103 (diff)
make sure bytes > 127 are not interpreted as negative.
svn path=/trunk/externals/mrpeach/; revision=6615
Diffstat (limited to 'net/udpsend.c')
-rwxr-xr-xnet/udpsend.c2
1 files changed, 1 insertions, 1 deletions
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;