lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev LYLeaks.c typo?


From: Michael Warner
Subject: lynx-dev LYLeaks.c typo?
Date: Fri, 10 Dec 1999 07:09:07 -0800

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 ...

--- orig/src/LYLeaks.c  Thu Dec  9 23:03:08 1999
+++ lynx2-8-3/src/LYLeaks.c     Thu Dec  9 23:04:17 1999
@@ -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.

-- 
Michael Warner
<address@hidden>

reply via email to

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