Explorar o código

- fixed TFDSet type for 64 bit compatibility

git-svn-id: trunk@1618 -
tom_at_work %!s(int64=20) %!d(string=hai) anos
pai
achega
b8f34684ec
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      rtl/linux/ostypes.inc

+ 1 - 1
rtl/linux/ostypes.inc

@@ -213,7 +213,7 @@ type
    TTms      = tms;
    PTms      = ^tms;
 
- TFDSet    = ARRAY[0..(FD_MAXFDSET div 32)-1] of Cardinal;
+ TFDSet    = ARRAY[0..(FD_MAXFDSET div BITSINWORD)-1] of cLong;
  pFDSet    = ^TFDSet;
 
   timezone = packed record