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 +++--- src/makefile.msvc | 6 +++--- 2 files changed, 6 insertions(+), 6 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) diff --git a/src/makefile.msvc b/src/makefile.msvc index 26f9301..0e60fcf 100755 --- a/src/makefile.msvc +++ b/src/makefile.msvc @@ -6,9 +6,9 @@ # customize here ! VC="C:\Programmi\Microsoft Visual Studio .NET\Vc7" -PDPATH="C:\Documents and Settings\Davide\Documenti\personali\pd-0.38-3.msw\pd" -FANNSRC="C:\Documents and Settings\Davide\Documenti\personali\PD\fann-1.2.0\fann-1.2.0\src\include" -FANNLIB="C:\Documents and Settings\Davide\Documenti\personali\PD\fann-1.2.0\fann-1.2.0\MSVC++\Release" +PDPATH="H:\PureData\pd-0.38-3.msw\pd" +FANNSRC="H:\PureData\FANN\fann-1.2.0\fann-1.2.0\src\include" +FANNLIB="H:\PureData\FANN\fann-1.2.0\fann-1.2.0\MSVC++\Release" current: clean pd_nt distclean -- cgit v1.2.1