Selaa lähdekoodia

* changed type of operatingsystem_parameter_argc from ptruint to longint,
as that's the type of argc in the system unit (which maps onto this
variable), and even in C it's "int argc". This fixes the use of this
variable on big endian targets

git-svn-id: trunk@30209 -

Jonas Maebe 10 vuotta sitten
vanhempi
commit
53680329d3
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      rtl/linux/si_intf.inc

+ 1 - 1
rtl/linux/si_intf.inc

@@ -3,5 +3,5 @@
 var
   initialstkptr: pointer; public name '__stkptr';
   operatingsystem_parameter_envp: ppchar; public name 'operatingsystem_parameter_envp';
-  operatingsystem_parameter_argc: ptruint; public name 'operatingsystem_parameter_argc';
+  operatingsystem_parameter_argc: longint; public name 'operatingsystem_parameter_argc';
   operatingsystem_parameter_argv: ppchar; public name 'operatingsystem_parameter_argv';