menu(1)

Paul J. Condie pjc at pcbox.UUCP
Thu Apr 12 07:31:20 AEST 1990


It has been pointed out to me that on some machines while compiling
menu you will get a warning message about "ambiguous assignment..." on
rundriver.c line 161 and line 166.

if you change line 161 from this:
		*option =*option >= menu->optioncount ? 1 : ++(*option);
to this:
		*option =(*option) >= menu->optioncount ? 1 : ++(*option);
putting paranthesis around *option will get rid of the warning.  The
same for line 166, put parenthesis around *option.



More information about the Alt.sources mailing list