Browse Source

- fixed TFDSet type for 64 bit compatibility

git-svn-id: trunk@1618 -
tom_at_work 20 years ago
parent
commit
b8f34684ec
1 changed files with 1 additions and 1 deletions
  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