diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-10-16 19:58:16 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-10-16 19:58:16 +0000 |
commit | 5afa9755db130c0243eca61be283f114e746d120 (patch) | |
tree | 54225be7569db89d30d0f1d2d97b433990a5557d | |
parent | 8d9fa4a965068cee0b67f05d4462fce0b544cc23 (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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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);
|