]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix signedness of __rlim_t and __rlim64_t.
authorUlrich Drepper <drepper@redhat.com>
Thu, 2 Dec 1999 08:26:02 +0000 (08:26 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 2 Dec 1999 08:26:02 +0000 (08:26 +0000)
sysdeps/unix/sysv/linux/alpha/bits/types.h
sysdeps/unix/sysv/linux/mips/bits/types.h
sysdeps/unix/sysv/linux/sparc/bits/types.h

index 0af9fb399d526a56715a26863322622b24466651..0f260f9de8efd3b0fbff40e98431f503b9e45c42 100644 (file)
@@ -57,8 +57,8 @@ typedef __int64_t  __off64_t;         /*  "" (LFS) */
 typedef __int64_t  __loff_t;           /* Type of file sizes and offsets.  */
 typedef __int32_t  __pid_t;            /* Type of process identifications.  */
 typedef __int64_t  __ssize_t;          /* Type of a byte count, or error.  */
-typedef __int64_t  __rlim_t;           /* Type of resource counts.  */
-typedef __int64_t  __rlim64_t;         /*  "" (LFS) */
+typedef __uint64_t  __rlim_t;          /* Type of resource counts.  */
+typedef __uint64_t  __rlim64_t;                /*  "" (LFS) */
 typedef __uint32_t  __blkcnt_t;                /* Type to count nr disk blocks.  */
 typedef __uint64_t  __blkcnt64_t;      /*  "" (LFS) */
 typedef __int32_t __fsblkcnt_t;                /* Type to count file system blocks. */
index 51d9fcdc06758150f01e520c3fb5f8b86d04e6a8..cfba3d7ea0163cdc5d9b695f1818560667e52418 100644 (file)
@@ -68,8 +68,8 @@ typedef long int __off_t;             /* Type of file sizes and offsets.  */
 typedef __quad_t __loff_t;             /* Type of file sizes and offsets.  */
 typedef int __pid_t;                   /* Type of process identifications.  */
 typedef int __ssize_t;                 /* Type of a byte count, or error.  */
-typedef long int __rlim_t;             /* Type of resource counts.  */
-typedef __quad_t __rlim64_t;           /* Type of resource counts (LFS).  */
+typedef __u_long __rlim_t;             /* Type of resource counts.  */
+typedef __u_quad_t __rlim64_t;         /* Type of resource counts (LFS).  */
 typedef __u_int __id_t;                        /* General type for ID.  */
 
 typedef struct
index 2842d80f6b94f1170913d7b1b98dea93154febf4..56c8dede8ff6c2c872e6ba3c4c4f517543096532 100644 (file)
@@ -85,8 +85,8 @@ typedef long long int __ssize_t;      /* Type of a byte count, or error.  */
 #else
 typedef int __ssize_t;                 /* Type of a byte count, or error.  */
 #endif
-typedef long int __rlim_t;             /* Type of resource counts.  */
-typedef __quad_t __rlim64_t;           /* Type of resource counts (LFS).  */
+typedef __u_long __rlim_t;             /* Type of resource counts.  */
+typedef __u_quad_t __rlim64_t;         /* Type of resource counts (LFS).  */
 typedef __u_int __id_t;                        /* General type for IDs.  */
 
 typedef struct