aboutsummaryrefslogtreecommitdiff
path: root/smc.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-10-24 06:24:43 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-10-24 06:24:43 +0000
commit88c95e51f1bd6421e87b52a5567ef37b6e8a66fb (patch)
tree751f8be2320c060ae4670a3065bd138726376cbe /smc.c
parent931f134eeca5a1cd75993fc4bb0ed299ee1e0ac0 (diff)
fixed bugs with byte list output and put example of interpreting those byte lists with [string2any]
svn path=/trunk/externals/apple/; revision=12660
Diffstat (limited to 'smc.c')
-rw-r--r--smc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/smc.c b/smc.c
index dde7dd3..fe042d7 100644
--- a/smc.c
+++ b/smc.c
@@ -318,7 +318,7 @@ static void smc_symbol(t_smc* x, t_symbol* key)
UInt32 i;
t_atom output_list[val.dataSize];
for (i = 0; i < val.dataSize; i++)
- SETFLOAT(&output_atom + i, (unsigned char) val.bytes[i]);
+ SETFLOAT(output_list + i, (unsigned char) val.bytes[i]);
outlet_anything(x->data_outlet, gensym(val.key),
val.dataSize, output_list);
}