aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Morelli <morellid@users.sourceforge.net>2005-10-22 11:29:35 +0000
committerDavide Morelli <morellid@users.sourceforge.net>2005-10-22 11:29:35 +0000
commitbbc45812d049d746cf4f61f5e8d0e51652e2ce24 (patch)
treec87f35d08dad7e0e5afa3ab62c7410e713c3009d
parent6dc7fbcd5c46946b87afb90ea7fd8a4fddb79572 (diff)
fixed unsigned/signed errors (msvc specific?)
svn path=/trunk/externals/ann/; revision=3747
-rwxr-xr-xsrc/ann_mlp.c6
-rwxr-xr-xsrc/makefile.msvc6
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