[fpc-devel] https support; call for testers

Michael Van Canneyt michael at freepascal.org
Mon May 12 09:11:22 CEST 2014



On Mon, 12 May 2014, Marco van de Voort wrote:

> In our previous episode, Michael Van Canneyt said:
>>>
>>> #0 HANDLEERRORADDRFRAME(201, 0x15ff0dc, 0x2e2f48) at ..\inc\system.inc:962
>>> #1 HANDLEERRORFRAME(201, 0x15ff0dc) at ..\inc\system.inc:992
>>> #2 fpc_rangeerror at ..\inc\system.inc:653
>>> #3 CONNECT(0x2e72a8) at ..\source\ssockets.pp:860
>>
>> That is the line:
>>
>>    addr.sin_addr.s_addr := HostToNet(a.s_addr);
>
> HostToNet is only defined for in_addr and longint, and s_addr is cuint32.

On all platforms ?

Strange then that this error didn't happen before. 
Well, a simple typecast will solve this.

Michael.



More information about the fpc-devel mailing list