I can't check this easily, but it appears that your (unidentified) C
compiler is not happy with the macro "PTR_FORMAT", defined in
"src/wget.h":

#define PTR_FORMAT(p) 2 * sizeof (void *), (unsigned long) (p)

No bets, but you might try something like:

#define PTR_FORMAT(p) ((int)(2 * sizeof (void *))), (unsigned long) (p)

   The "sizeof" operator is likely to produce a "size_t" result, which
may differ from "int" enough to provoke a fussy compiler.

   Note that, as portable code goes, this isn't very.  Assuming that an
"unsigned long" is the same size (or at least as large) as a pointer is
an invitation to trouble.  (And using format "lx" as the nearby comment
suggests is also likely to cause trouble when this coincidence fails.)

------------------------------------------------------------------------

   Steven M. Schweda               (+1) 651-699-9818
   382 South Warwick Street        [EMAIL PROTECTED]
   Saint Paul  MN  55105-2547

Reply via email to