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

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

+ 1 - 1
compiler/ncal.pas

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