Przeglądaj źródła

* sizeof(voidpointertype.size) -> voidpointertype.size (although they
happen to be the same currently on all platforms, this is not
guaranteed)

git-svn-id: trunk@14297 -

Jonas Maebe 15 lat temu
rodzic
commit
985c74adde
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      compiler/ncal.pas

+ 1 - 1
compiler/ncal.pas

@@ -300,7 +300,7 @@ implementation
               inc(paramssize,para.left.resultdef.size);
             else
           }
-              inc(paramssize,sizeof(voidpointertype.size));
+              inc(paramssize,voidpointertype.size);
           {
           end;
           }