diff -ru SNNSv4.2/xgui/sources/ui_config.c SNNSv4.2-patched/xgui/sources/ui_config.c --- SNNSv4.2/xgui/sources/ui_config.c 1998-09-03 15:39:32.000000000 +0200 +++ SNNSv4.2-patched/xgui/sources/ui_config.c 2004-02-28 21:10:11.000000000 +0100 @@ -492,7 +492,7 @@ err = fscanf(filePtr,"%*[^:]: %d\n", &noParams); chkretline(1); lines++; - for (i=0; (i #endif +#include +#define MAXSHORT 32767 #include "kr_typ.h" /* Kernel Types and Constants */ #include "kernel.h" diff -ru -x *~ SNNSv4.2/kernel/sources/learn_f.c SNNSv4.2-patched/kernel/sources/learn_f.c --- SNNSv4.2/kernel/sources/learn_f.c Thu Sep 3 15:38:22 1998 +++ SNNSv4.2-patched/kernel/sources/learn_f.c Thu Sep 13 19:41:38 2001 @@ -36,6 +36,8 @@ #endif #include +#define MAXINT 2147483647 + #include "kr_typ.h" /* Kernel Types and Constants */ #include "kr_const.h" /* Constant Declarators for SNNS-Kernel */ #include "kr_def.h" /* Default Values */