building on AIX

Roland Illig roland.illig at gmx.de
Sat Oct 23 18:51:05 UTC 2004


Nerijus Baliunas wrote:
> ftpfs.c: In function `ftpfs_initconn':
> ftpfs.c:889: warning: passing arg 3 of `ngetsockname' from incompatible pointer type
> ftpfs.c:912: warning: passing arg 3 of `ngetsockname' from incompatible pointer type
> ftpfs.c: In function `ftpfs_open_data_connection':
> ftpfs.c:957: warning: passing arg 3 of `naccept' from incompatible pointer type

Thanks for reporting these.

The patch is to add an AC_CHECK_TYPE(socklen_t, size_t) to configure.ac 
and then replace the types in all the wrong declarations with socklen_t.

Concerning socklen_t.patch:
[ ] ok to commit
[ ] needs review
[ ] rejected

Roland
-------------- next part --------------
A non-text attachment was scrubbed...
Name: socklen_t.patch
Type: text/x-patch
Size: 1325 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20041023/326ac59d/attachment.bin>


More information about the mc-devel mailing list