Use mach_msg_type_number_t and natural_t in place of unsigned int and int.
authorroland <roland>
Fri, 9 Dec 1994 19:36:56 +0000 (19:36 +0000)
committerroland <roland>
Fri, 9 Dec 1994 19:36:56 +0000 (19:36 +0000)
hurd/hurdlookup.c

index 6ffa3d2..df7c6c3 100644 (file)
@@ -199,10 +199,11 @@ __hurd_file_name_lookup_retry (file_t crdir,
                {
                  error_t err;
                  struct host_basic_info hostinfo;
-                 unsigned int hostinfocnt = HOST_BASIC_INFO_COUNT;
+                 mach_msg_type_number_t hostinfocnt = HOST_BASIC_INFO_COUNT;
                  char *p;
                  if (err = __host_info (__mach_host_self (), HOST_BASIC_INFO,
-                                        (int *) &hostinfo, &hostinfocnt))
+                                        (natrual_t *) &hostinfo,
+                                        &hostinfocnt))
                    return err;
                  if (hostinfocnt != HOST_BASIC_INFO_COUNT)
                    return EGRATUITOUS;