From 1e3891a7e0d3b60e89d0968b14e826ea92c28e15 Mon Sep 17 00:00:00 2001 From: Guenter Geiger Date: Mon, 15 Sep 2003 11:52:08 +0000 Subject: removed g_canvas.h svn path=/trunk/externals/ggee/; revision=967 --- control/serialctl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'control/serialctl.c') diff --git a/control/serialctl.c b/control/serialctl.c index 2cbf902..5a8b905 100755 --- a/control/serialctl.c +++ b/control/serialctl.c @@ -26,9 +26,9 @@ #define SETBIT(yy,ww,xx) \ if (!strcmp(yy->s_name,#xx)) \ - valid=1,ww |= ##xx;\ + valid=1,ww |= xx;\ if (!strcmp(yy->s_name,"~"#xx))\ - valid=1,ww &= ~##xx;\ + valid=1,ww &= ~xx;\ if (!strcmp(yy->s_name,"list"))\ valid=1,post(#xx); @@ -359,7 +359,7 @@ static void serialctl_send(t_serialctl* x,t_symbol* s) void serialctl_start(t_serialctl* x) { if (x->x_fd >= 0 && !x->started) { - sys_addpollfn(x->x_fd, (t_fdpollfn)serialctl_read, x); + sys_addpollfn(x->x_fd, serialctl_read, x); post("serialctl: start"); x->started = 1; } -- cgit v1.2.1