diff options
author | markm <markm@FreeBSD.org> | 2003-02-26 14:59:14 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2003-02-26 14:59:14 +0000 |
commit | 0c38fa8e5735040c921c23c18879569c0d6a314b (patch) | |
tree | 1440d4c8345cff68be6927f7f934891b08da9f61 | |
parent | 0b19632a933626af639fb5db084a09b340de99b9 (diff) | |
download | FreeBSD-src-0c38fa8e5735040c921c23c18879569c0d6a314b.zip FreeBSD-src-0c38fa8e5735040c921c23c18879569c0d6a314b.tar.gz |
No-op. Change the type of unnamed bit-fields to unsigned to shut up
warnings.
-rw-r--r-- | sys/sys/stat.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/sys/stat.h b/sys/sys/stat.h index ef1d0a1..a07b292 100644 --- a/sys/sys/stat.h +++ b/sys/sys/stat.h @@ -124,13 +124,13 @@ struct stat { * to cover up to 64 bits on 32-bit machines. We assume that * CHAR_BIT is 8... */ - int :(8 / 2) * (16 - (int)sizeof(struct timespec)); - int :(8 / 2) * (16 - (int)sizeof(struct timespec)); + u_int :(8 / 2) * (16 - (int)sizeof(struct timespec)); + u_int :(8 / 2) * (16 - (int)sizeof(struct timespec)); #else time_t st_birthtime; /* time of file creation */ long st_birthtimensec; /* nsec of file creation */ - int :(8 / 2) * (16 - (int)sizeof(struct __timespec)); - int :(8 / 2) * (16 - (int)sizeof(struct __timespec)); + u_int :(8 / 2) * (16 - (int)sizeof(struct __timespec)); + u_int :(8 / 2) * (16 - (int)sizeof(struct __timespec)); #endif }; @@ -155,8 +155,8 @@ struct nstat { /* * See above about the following padding. */ - int :(8 / 2) * (16 - (int)sizeof(struct timespec)); - int :(8 / 2) * (16 - (int)sizeof(struct timespec)); + u_int :(8 / 2) * (16 - (int)sizeof(struct timespec)); + u_int :(8 / 2) * (16 - (int)sizeof(struct timespec)); }; #endif |