mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 10:45:08 +02:00
* changed TResStrInitTable.Count and TWStrInitTablesTable.Count to nativeint
git-svn-id: trunk@26921 -
This commit is contained in:
parent
49b65fedd9
commit
5242ed7864
@ -805,7 +805,7 @@ implementation
|
||||
inc(count);
|
||||
end;
|
||||
{ Insert TableCount at start }
|
||||
hlist.insert(Tai_const.Create_32bit(count));
|
||||
hlist.insert(Tai_const.Create_pint(count));
|
||||
{ insert in data segment }
|
||||
maybe_new_object_file(current_asmdata.asmlists[al_globals]);
|
||||
new_section(current_asmdata.asmlists[al_globals],sec_data,tablename,sizeof(pint));
|
||||
|
@ -311,7 +311,7 @@ Type
|
||||
end;
|
||||
|
||||
TResStrInitTable = packed record
|
||||
Count: longint;
|
||||
Count: {$ifdef VER2_6}longint{$else}nativeint{$endif};
|
||||
Tables: packed array[1..{$ifdef cpu16}8191{$else cpu16}32767{$endif cpu16}] of PResStrInitEntry;
|
||||
end;
|
||||
|
||||
|
@ -637,7 +637,7 @@ type
|
||||
|
||||
PWStrInitTablesTable = ^TWStrInitTablesTable;
|
||||
TWStrInitTablesTable = packed record
|
||||
count : longint;
|
||||
count : {$ifdef VER2_6}longint{$else}nativeint{$endif};
|
||||
tables : packed array [1..32767] of PWStrInitEntry;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user