From 8b1145a2bcd61ea404b1f611429ec619b5f426ed Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 16 Nov 2011 19:41:56 +0000 Subject: some quick t_float fixes svn path=/trunk/externals/OSCx/; revision=15776 --- src/sendOSC.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/sendOSC.c') diff --git a/src/sendOSC.c b/src/sendOSC.c index 679209d..ffbffab 100644 --- a/src/sendOSC.c +++ b/src/sendOSC.c @@ -81,7 +81,7 @@ typedef struct union { int i; - float f; + t_float f; char *s; } datum; } typedArg; @@ -152,7 +152,7 @@ void sendOSC_openbundle(t_sendOSC *x) return; } x->x_bundle = 1; - outlet_float(x->x_bdpthout, (float)x->x_oscbuf->bundleDepth); + outlet_float(x->x_bdpthout, (t_float)x->x_oscbuf->bundleDepth); } static void sendOSC_closebundle(t_sendOSC *x) @@ -162,7 +162,7 @@ static void sendOSC_closebundle(t_sendOSC *x) error("Problem closing bundle: %s\n", OSC_errorMessage); return; } - outlet_float(x->x_bdpthout, (float)x->x_oscbuf->bundleDepth); + outlet_float(x->x_bdpthout, (t_float)x->x_oscbuf->bundleDepth); // in bundle mode we send when bundle is closed? if(!OSC_isBufferEmpty(x->x_oscbuf) > 0 && OSC_isBufferDone(x->x_oscbuf)) { @@ -190,7 +190,7 @@ 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) // t_symbol *hostname, t_floatarg fportno, int argc, t_atom *argv) { - float fportno=0; + t_float fportno=0; t_symbol *hostname; int portno = fportno; short ttl=-1; -- cgit v1.2.1