[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev Patch for pre.9

From: dickey
Subject: Re: lynx-dev Patch for pre.9
Date: Sun, 11 Oct 1998 19:24:34 -0400 (EDT)

> > > LYMain.c:692: warning: passing arg 2 of `HTSACopy' makes pointer \  
> > > from integer without a cast  
> >  
> > that's a missing #include (I'll look/see).  doesn't happen when I build 
> > on Unix, so it's due to one of the #ifdef DOSPATH includes. 
> This only applied to the HTDOS_name function (which was arg 2 of 
> HTSACopy). The following revised patch for LYMain.c seems to fix it. 
> It needed (char *) before HTDOS_name. I also put TMPDIR as one of the 
> options for DOS, applying only if TEMP and TMP are not defined in the 
> environment. 

no - a cast is what you should use as a last resort (under some obscure
conditions you can get incorrect code generated using a cast).

there's a prototype in HTDOS.h

> Doug Kaufman 

Thomas E. Dickey

reply via email to

[Prev in Thread] Current Thread [Next in Thread]