Forráskód Böngészése

Changed type of size argument from aint to asizeint. This previously broke things on 8bit targets.

git-svn-id: trunk@31319 -
Jeppe Johansen 10 éve
szülő
commit
59f164b948
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      compiler/aasmtai.pas

+ 2 - 2
compiler/aasmtai.pas

@@ -576,7 +576,7 @@ interface
           is_global : boolean;
           sym       : tasmsymbol;
           size      : asizeint;
-          constructor Create(const _name : string;_size : aint);
+          constructor Create(const _name : string;_size : asizeint);
           constructor Create_global(const _name : string;_size : asizeint);
           constructor ppuload(t:taitype;ppufile:tcompilerppufile);override;
           procedure ppuwrite(ppufile:tcompilerppufile);override;
@@ -1248,7 +1248,7 @@ implementation
                              TAI_DATABLOCK
  ****************************************************************************}
 
-    constructor tai_datablock.Create(const _name : string;_size : aint);
+    constructor tai_datablock.Create(const _name : string;_size : asizeint);
 
       begin
          inherited Create;