Browse Source

* hmodule should scale with pointertype on non-windows.

git-svn-id: trunk@15510 -
marco 15 years ago
parent
commit
d8707ec5d3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rtl/objpas/classes/classesh.inc

+ 1 - 1
rtl/objpas/classes/classesh.inc

@@ -36,7 +36,7 @@ type
    TSmallPoint = record
       x,y : smallint;
    end;
-   HMODULE = longint;
+   HMODULE = ptrint; // hmodule is handle on windows. Pointer eq.
 {$else}
    TSmallPoint = Windows.TSmallPoint;
    HModule = System.HModule;