2
0
Эх сурвалжийг харах

* 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 жил өмнө
parent
commit
c950bcba9f

+ 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;