[fpc-devel]possible bug in sockets.pp

Jonas Maebe jonas at zeus.rug.ac.be
Mon Nov 5 09:49:01 CET 2001


On zaterdag, november 3, 2001, at 12:08 , Thomas Schatzl wrote:

>> That's not correct, in the C headers family is an "unsigned short", 
>> which
>> is the same as a byte in Pascal.
>
> No, "unsigned short" equals the Pascal "Word" type (usually). Pascal 
> "Byte"
> equals "unsigned char".

Oops, you're right of course! I'll also adapt the padding array so that 
it becomes the correct size.


Jonas





More information about the fpc-devel mailing list