diff options
author | Davide Morelli <morellid@users.sourceforge.net> | 2005-10-22 11:29:35 +0000 |
---|---|---|
committer | Davide Morelli <morellid@users.sourceforge.net> | 2005-10-22 11:29:35 +0000 |
commit | bbc45812d049d746cf4f61f5e8d0e51652e2ce24 (patch) | |
tree | c87f35d08dad7e0e5afa3ab62c7410e713c3009d /src/ann_mlp.c | |
parent | 6dc7fbcd5c46946b87afb90ea7fd8a4fddb79572 (diff) |
fixed unsigned/signed errors (msvc specific?)
svn path=/trunk/externals/ann/; revision=3747
Diffstat (limited to 'src/ann_mlp.c')
-rwxr-xr-x | src/ann_mlp.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) |