[fpc-devel] __caddr_t type in packages/libc/src/typesh.inc
Hilton Williams
hilton at datatex.co.za
Tue Oct 5 18:01:54 CEST 2010
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.
More information about the fpc-devel
mailing list