Browse Source

* FPC side fix for #39432: declare TColor the same way as Lazarus does (this way it's also a distinct type from LongInt)

Sven Barth 3 years ago
parent
commit
c950bcba9f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/rtl-objpas/src/inc/system.uitypes.pp

+ 1 - 1
packages/rtl-objpas/src/inc/system.uitypes.pp

@@ -19,7 +19,7 @@ unit System.UITypes;
 interface
 
 Type  
-    TColor      = Longint;
+    TColor      = -$7FFFFFFF-1..$7FFFFFFF;
     PColor      = ^TColor;
     TColorRef   = Cardinal;
     PColorRef   = ^TColorRef;