Dear Kenneth,
> Bert,
>
> The first part of the problem is that the fourth and fifth formal
> parameters to 'getdefaults' are defined as 'int *' but the variables
> 'plimit' and 'flimit' in 'swish.c' are declared as 'long'.
>
> You can change the declaration and definition of getdefaults to
> expect 'long *' for parameters four and five:
>
> void getdefaults _AP ((char *, int *, int *, long *, long *, int))
>
> The function definition is:
>
> void getdefaults(conffile, hasdir, hasindex, plimit, flimit,hasverbose)
> char *conffile;
> int *hasdir;
> int *hasindex;
> long *plimit;
> long *flimit;
> int hasverbose;
>
> Your must be compiling in ANSI mode and hence the mistmatch is being
> detected. One option is to compile in K&R mode instead. The gcc
> compiler is quite forgiving about ANSI/K&R conformance and hence you
> are only receiving warnings anyway. I guess most people must
> ignore them.
>
> Rgds,
> Kenneth
You were right: the above resolved the first part of my problem;
thanks!
Bert
****************************
Bert Hiddink
FUNDACION GALILEO
Correo electronico: hiddink@sipromicro.com
Sitio: www.sipromicro.com
Tel. +506 280 8683
Telefax. +506 280 8886
****************************
Received on Fri Oct 9 06:56:39 1998