Re: PR 207, 662

Andrew Cagney
2002-11-19T22:31:07Z

> Further, on attempt to compile, it fails in expect/exp_command.c with the
> following errors:
>
> cc-1515 cc: ERROR File = exp_command.c, Line 920
> A value of type "void *" cannot be assigned to an entity of type "int".
>
> master = ((mode & TCL_READABLE)?rfd:wfd);
>
> cc-1164 cc: ERROR File = exp_command.c, Line 930
> Argument of type "void *" is incompatible with parameter of type "int".
>
> if (-1 == (write_master = dup(wfd))) {

Hmm, I thought that one was `fixed'. Just add a cast to supress the
warning.

Andrew