aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-10-16 19:58:16 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-10-16 19:58:16 +0000
commit5afa9755db130c0243eca61be283f114e746d120 (patch)
tree54225be7569db89d30d0f1d2d97b433990a5557d
parent8d9fa4a965068cee0b67f05d4462fce0b544cc23 (diff)
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
-rw-r--r--sendOSC.c4
1 files 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);