cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: TFTP nits
From: Jamie Lokier <jamie_at_shareable.org>
Date: Tue, 6 Sep 2005 22:32:01 +0100
Daniel Stenberg wrote:
Historically the argument to sendto() was `char *' or `const char *'.
When a function's prototype says it takes `const void *', that doesn't
So if you cast the argument to `char *', that should be universally portable.
It should also be portable if you cast the argument to `void *', as
What's not portable is if the argument has any pointer type which is
These mail archives are generated by hypermail.
Page updated November 12, 2010.
web site info