aboutsummaryrefslogtreecommitdiff
path: root/src/ann_mlp.c
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 /src/ann_mlp.c
parent6dc7fbcd5c46946b87afb90ea7fd8a4fddb79572 (diff)
fixed unsigned/signed errors (msvc specific?)
svn path=/trunk/externals/ann/; revision=3747
Diffstat (limited to 'src/ann_mlp.c')
-rwxr-xr-xsrc/ann_mlp.c6
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)