bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH gnumach 14/16] Correct MiG Mach types to fix compilation warnings


From: Guillem Jover
Subject: [PATCH gnumach 14/16] Correct MiG Mach types to fix compilation warnings
Date: Tue, 30 Aug 2011 03:09:40 +0200

* include/mach/mach_types.defs (thread_info_t): Change from array of
natural_t to integer_t.
(task_info_t): Likewise.
(host_info_t): Likewise.
(processor_info_t): Likewise.
(processor_set_info_t): Likewise.
---
 include/mach/mach_types.defs |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/include/mach/mach_types.defs b/include/mach/mach_types.defs
index 4e448b8..5e31cdc 100644
--- a/include/mach/mach_types.defs
+++ b/include/mach/mach_types.defs
@@ -121,11 +121,11 @@ type vm_statistics_data_t = struct[13] of integer_t;
 type vm_machine_attribute_t = int;
 type vm_machine_attribute_val_t = int;
 
-type thread_info_t             = array[*:1024] of natural_t;
+type thread_info_t             = array[*:1024] of integer_t;
 type thread_basic_info_data_t  = struct[11] of integer_t;
 type thread_sched_info_data_t  = struct[7] of integer_t;
 
-type task_info_t               = array[*:1024] of natural_t;
+type task_info_t               = array[*:1024] of integer_t;
 type task_basic_info_data_t    = struct[8] of integer_t;
 type task_events_info          = struct[7] of natural_t;
 type task_thread_times_info_data_t = struct[4] of integer_t;
@@ -174,7 +174,7 @@ type host_priv_t = mach_port_t
 #endif /* KERNEL_SERVER */
                ;
 
-type host_info_t                       = array[*:1024] of natural_t;
+type host_info_t                       = array[*:1024] of integer_t;
 type host_basic_info_data_t            = struct[5] of integer_t;
 type host_sched_info_data_t            = struct[2] of integer_t;
 type host_load_info_data_t             = struct[6] of integer_t;
@@ -189,7 +189,7 @@ type processor_t = mach_port_t
                ;
 
 type processor_array_t                 = ^array[] of processor_t;
-type processor_info_t          = array[*:1024] of natural_t;
+type processor_info_t          = array[*:1024] of integer_t;
 type processor_basic_info_data_t = struct[5] of integer_t;
 
 
@@ -215,7 +215,7 @@ type processor_set_name_t = mach_port_t
 
 type processor_set_name_array_t = ^array[] of processor_set_name_t;
 
-type processor_set_info_t      = array[*:1024] of natural_t;   
+type processor_set_info_t      = array[*:1024] of integer_t;
 type processor_set_basic_info_data_t = struct[5] of integer_t;
 type processor_set_sched_info_data_t = struct[2] of integer_t;
 
-- 
1.7.5.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]