lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev LYLeaks.c typo?


From: Klaus Weide
Subject: Re: lynx-dev LYLeaks.c typo?
Date: Fri, 10 Dec 1999 09:28:10 -0600 (CST)

On Fri, 10 Dec 1999, Michael Warner wrote:

> I finally got around to building dev.16, and the compile died in
> LYLeaks.c, like so:
> 
> ./LYLeaks.c: In function `LYLeakSAVsprintf':
> ./LYLeaks.c:713: incompatible type for argument 4 of `StrAllocVsprintf'
> ./LYLeaks.c:755: incompatible type for argument 4 of `StrAllocVsprintf'
> ./LYLeaks.c: In function `LYLeakHTSprintf':
> ./LYLeaks.c:815: incompatible type for argument 6 of `LYLeakSAVsprintf'
> ./LYLeaks.c: In function `LYLeakHTSprintf0':
> ./LYLeaks.c:839: incompatible type for argument 6 of `LYLeakSAVsprintf'
> 
> I looked around a little and saw what I thought maybe should have
> been a pointer and wasn't.  This miniscule change let it build,
> anyway ...
> 
> @@ -697,7 +697,7 @@
>       CONST short,    ssi_Line,
>       size_t,         inuse,
>       CONST char *,   fmt,
> -     va_list,        ap)
> +     va_list *,      ap)
>  {
>      AllocationList *ALp_old;
>      void *vp_oldAlloced;
> 
> It seems to run OK.

It looks like the right change to me.  Strange how this got in.

So you are compiling with --enable-find-leaks?  I haven't done
it in a while.  Let us know about what you find.

   Klaus


reply via email to

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