From 4435779790a1edb87554a26bbbb9c603bc775d73 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 16 Aug 2001 05:32:49 +0000 Subject: [PATCH] Fix type of __id_t, __useconds_t and __intptr_t. --- sysdeps/unix/sysv/aix/bits/types.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sysdeps/unix/sysv/aix/bits/types.h b/sysdeps/unix/sysv/aix/bits/types.h index 4beff41891..12c3be730e 100644 --- a/sysdeps/unix/sysv/aix/bits/types.h +++ b/sysdeps/unix/sysv/aix/bits/types.h @@ -71,7 +71,7 @@ typedef int __pid_t; /* Type of process identifications. */ typedef long int __ssize_t; /* Type of a byte count, or error. */ typedef __u_long __rlim_t; /* Type of resource counts. */ typedef __u_quad_t __rlim64_t; /* Type of resource counts (LFS). */ -typedef __u_long __id_t; /* General type for ID. */ +typedef unsigned int __id_t; /* General type for ID. */ typedef struct { @@ -82,7 +82,7 @@ typedef struct typedef long int __daddr_t; /* The type of a disk address. */ typedef char *__caddr_t; typedef long int __time_t; -typedef __u_long __useconds_t; +typedef unsigned int __useconds_t; typedef int __suseconds_t; typedef long int __swblk_t; /* Type of a swap block maybe? */ @@ -128,7 +128,7 @@ typedef int __t_scalar_t; typedef unsigned int __t_uscalar_t; /* Duplicates info from stdint.h but this is used in unistd.h. */ -typedef int __intptr_t; +typedef signed long __intptr_t; /* Duplicate info from sys/socket.h. */ typedef unsigned int __socklen_t;