[sllug-members]: differ in signedness

Byron Clark byron.clark at gmail.com
Mon Jul 31 15:32:52 MDT 2006


On 7/31/06, Adam Barrett <dragen at gmail.com> wrote:
> I keep getting errors like these when I try to compile stuff. I have no idea
> what it means and searching on Google is not helping.
>
> warning: pointer targets in passing argument 3 of âgetsocknameâ differ in
> signedness
>
> Any ideas?

It usually means you are passing an unsigned int* where an int* is
expected or an int* where an unsigned int* is expected.  Note that the
third parameter for getsockname is really an int* (at least, that's
what the man page says).


More information about the sllug-members mailing list