Hi

It looks like the __caddr_t type in packages/libc/src/typesh.inc is declared incorrectly.

In C, it is declared as "typedef char *__caddr_t;", but in FPC, it is declared as char, not PChar.

This is most obvious when using the ifc_ifcu.ifcu_buf field of the ifconf structure in nifh.inc.

Am I reading it wrong?  Can someone confirm this is a bug?

Regards
Hilton Williams






--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to