Просмотр исходного кода

* fixed comparison of two procvars in the i8086 compact and medium memory models

git-svn-id: trunk@32166 -
nickysn 9 лет назад
Родитель
Сommit
a159ebdbad
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      compiler/nadd.pas

+ 2 - 2
compiler/nadd.pas

@@ -2116,8 +2116,8 @@ implementation
               begin
                 if tprocvardef(rd).is_addressonly then
                   begin
-                    inserttypeconv_internal(right,voidpointertype);
-                    inserttypeconv_internal(left,voidpointertype);
+                    inserttypeconv_internal(right,voidcodepointertype);
+                    inserttypeconv_internal(left,voidcodepointertype);
                   end
                 else
                   begin