Procházet zdrojové kódy

* 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 před 16 roky
rodič
revize
985c74adde
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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;
           }