Browse Source

* 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 years ago
parent
commit
985c74adde
1 changed files with 1 additions and 1 deletions
  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;
           }