From 5afa9755db130c0243eca61be283f114e746d120 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 16 Oct 2012 19:58:16 +0000 Subject: fix bug in [sendOSC]'s [typetags( message where it was wrongly using the pointer to the float value svn path=/branches/pd-extended/0.43/externals/oscx/; revision=16404 --- sendOSC.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sendOSC.c b/sendOSC.c index 4a4c687..b9c7a29 100644 --- a/sendOSC.c +++ b/sendOSC.c @@ -112,7 +112,7 @@ typedef struct _sendOSC static void *sendOSC_new(t_floatarg udpflag); void sendOSC_openbundle(t_sendOSC *x); static void sendOSC_closebundle(t_sendOSC *x); -static void sendOSC_settypetags(t_sendOSC *x, t_float *f); +static void sendOSC_settypetags(t_sendOSC *x, t_float f); static void sendOSC_connect(t_sendOSC *x, t_symbol *s, int argc, t_atom *argv); void sendOSC_disconnect(t_sendOSC *x); static void sendOSC_sendtyped(t_sendOSC *x, t_symbol *s, int argc, t_atom *argv); @@ -182,7 +182,7 @@ static void sendOSC_closebundle(t_sendOSC *x) // post("x_oscbuf: something went wrong"); } -static void sendOSC_settypetags(t_sendOSC *x, t_float *f) +static void sendOSC_settypetags(t_sendOSC *x, t_float f) { x->x_typetags = (int)f; post("sendOSC.c: setting typetags %d",x->x_typetags); -- cgit v1.2.1