From bbc45812d049d746cf4f61f5e8d0e51652e2ce24 Mon Sep 17 00:00:00 2001 From: Davide Morelli Date: Sat, 22 Oct 2005 11:29:35 +0000 Subject: fixed unsigned/signed errors (msvc specific?) svn path=/trunk/externals/ann/; revision=3747 --- src/ann_mlp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ann_mlp.c') diff --git a/src/ann_mlp.c b/src/ann_mlp.c index f6953fe..bd2ddc2 100755 --- a/src/ann_mlp.c +++ b/src/ann_mlp.c @@ -48,7 +48,7 @@ typedef struct _ann_mlp { // allocation static void ann_mlp_allocate_storage(t_ann_mlp *x) { - int i; + unsigned int i; if(!x->ann) return; @@ -299,9 +299,9 @@ static void ann_mlp_set_iterations_between_reports(t_ann_mlp *x, t_symbol *sl, i // run the ann using floats in list passed to the inlet as input values // and send result to outlet as list of float -static void ann_mlp_run_the_net(t_ann_mlp *x, t_symbol *sl, int argc, t_atom *argv) +static void ann_mlp_run_the_net(t_ann_mlp *x, t_symbol *sl, unsigned int argc, t_atom *argv) { - int i=0; + unsigned int i=0; fann_type *calc_out; if (x->ann == 0) -- cgit v1.2.1