Browse Source

* bit field to cardinal instead of longint

peter 24 years ago
parent
commit
f4f7a6ad19
2 changed files with 10 additions and 4 deletions
  1. 5 2
      fcl/inc/bits.inc
  2. 5 2
      fcl/inc/classesh.inc

+ 5 - 2
fcl/inc/bits.inc

@@ -291,7 +291,7 @@ var
    loop : longint;
    loop : longint;
    loop2 : longint;
    loop2 : longint;
    startIndex : longint;
    startIndex : longint;
-   compareVal : longint;
+   compareVal : cardinal;
 begin
 begin
    result := -1; {should only occur if none are set}
    result := -1; {should only occur if none are set}
 
 
@@ -372,7 +372,10 @@ end;
 
 
 {
 {
   $Log$
   $Log$
-  Revision 1.5  2000-11-17 13:39:49  sg
+  Revision 1.6  2001-02-02 23:51:27  peter
+    * bit field to cardinal instead of longint
+
+  Revision 1.5  2000/11/17 13:39:49  sg
   * Extended Error methods so that exceptions are raised from the caller's
   * Extended Error methods so that exceptions are raised from the caller's
     address instead of the Error method
     address instead of the Error method
 
 

+ 5 - 2
fcl/inc/classesh.inc

@@ -190,7 +190,7 @@ const
    MaxBitFlags = MaxBitRec * 32;
    MaxBitFlags = MaxBitRec * 32;
 
 
 type
 type
-   TBitArray = array[0..MaxBitRec - 1] of longint;
+   TBitArray = array[0..MaxBitRec - 1] of cardinal;
 
 
    TBits = class(TObject)
    TBits = class(TObject)
    private
    private
@@ -1239,7 +1239,10 @@ function LineStart(Buffer, BufPos: PChar): PChar;
 
 
 {
 {
   $Log$
   $Log$
-  Revision 1.6  2000-12-03 22:35:09  sg
+  Revision 1.7  2001-02-02 23:51:27  peter
+    * bit field to cardinal instead of longint
+
+  Revision 1.6  2000/12/03 22:35:09  sg
   * Applied patch by Markus Kaemmerer (merged):
   * Applied patch by Markus Kaemmerer (merged):
     - Added support for TStringList.CustomSort
     - Added support for TStringList.CustomSort