aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorN.N. <matju@users.sourceforge.net>2009-05-14 01:14:49 +0000
committerN.N. <matju@users.sourceforge.net>2009-05-14 01:14:49 +0000
commit22e86d80d4f275600284ce81779bf022920f3dff (patch)
treed03da4e4eb4e805ee3c4e7fac3d102079927001f
parentddcdf6e2465707ec6e0609b3793b7ffc618ff460 (diff)
fix warnings
svn path=/trunk/; revision=11339
-rw-r--r--desiredata/src/builtins.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/desiredata/src/builtins.c b/desiredata/src/builtins.c
index 8ddb47fb..a036df65 100644
--- a/desiredata/src/builtins.c
+++ b/desiredata/src/builtins.c
@@ -1081,10 +1081,10 @@ static void *any_new(t_symbol *s,int argc, t_atom *argv) {
static void any_anything(t_any *x, t_symbol *s, int argc, t_atom *argv) {
t_atom *outv; int outc = x->alist->n+argc+1; ATOMS_ALLOCA(outv, outc);
- if (argv[0].a_type == A_FLOAT && *s=="list" || *s=="float") {
+ if ((argv[0].a_type == A_FLOAT && s==&s_list) || s==&s_float) {
alist_list(x->alist, 0, argc, argv); outlet_anything(x->outlet, &s_list, argc, argv);return;
}
- if (argv[0].a_type == A_SYMBOL || *s!="list" || *s!="float") {
+ if ( argv[0].a_type == A_SYMBOL || s!=&s_list || s!=&s_float) {
alist_anything(x->alist, s, argc, argv); outlet_anything(x->outlet, s, argc, argv);
}
}
@@ -1700,7 +1700,7 @@ struct t_triggerout {
int type;
t_outlet *outlet;
};
-typedef struct t_trigger : t_object {
+struct t_trigger : t_object {
t_int n;
t_triggerout *vec;
};
@@ -1914,7 +1914,7 @@ struct t_vcommon : t_pd {
int c_refcount;
t_float f;
};
-typedef struct t_value : t_object {
+struct t_value : t_object {
t_symbol *sym;
t_float *floatstar;
};