Browse Source

* Fix endian issue in ppuload/ppuwrite.

git-svn-id: trunk@7919 -
daniel 18 years ago
parent
commit
df1e31034a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      compiler/ncon.pas

+ 2 - 2
compiler/ncon.pas

@@ -973,7 +973,7 @@ implementation
         inherited ppuload(t,ppufile);
         ppufile.getderef(typedefderef);
         new(value_set);
-        ppufile.getdata(value_set^,sizeof(tconstset));
+        ppufile.getnormalset(value_set^);
       end;
 
 
@@ -981,7 +981,7 @@ implementation
       begin
         inherited ppuwrite(ppufile);
         ppufile.putderef(typedefderef);
-        ppufile.putdata(value_set^,sizeof(tconstset));
+        ppufile.putnormalset(value_set^);
       end;