Browse Source

* fixed class messages for PowerPC64, due to a wrong typecast

git-svn-id: trunk@1363 -
tom_at_work 20 years ago
parent
commit
0b34b01a6d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      rtl/inc/objpas.inc

+ 2 - 2
rtl/inc/objpas.inc

@@ -413,9 +413,9 @@
              begin
                 // See if we have messages at all in this class.
                 p:=pointer(vmt)+vmtDynamicTable;
-                If Assigned(p) and (Pdword(p)^<>0) then
+                If assigned(PPointer(p)^) then
                   begin
-                     msgtable:=pmsgtable(PtrInt(p^)+4);
+                     msgtable:=pmsgtable(Pointer(p^)+4);
                      count:=pdword(p^)^;
                   end
                 else