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

Re: [MiNT] Mint-Net error



On Mon, 14 Feb 2000 21:17:36 , <owner-mint@fishpool.com> wrote:
> Hello!
>
> Whenever porting any networking application, I always get this
> warning by GCC, at some point:
>
> passing arg 3 of `getpeername' from incompatible pointer type
>
> Would this indicate that something in our socket libs breaks
> any standard?  If not, what causes this?

Normally this means, that there is a a pointer to a variable of
the wrong type been used, maybe 'int' instead of 'size_t'. If
this variable's size is equal to the right type, it is cosmetical
only.

Ralph