summaryrefslogtreecommitdiffstats
path: root/sys/sys/stat.h
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2003-02-26 14:59:14 +0000
committermarkm <markm@FreeBSD.org>2003-02-26 14:59:14 +0000
commit0c38fa8e5735040c921c23c18879569c0d6a314b (patch)
tree1440d4c8345cff68be6927f7f934891b08da9f61 /sys/sys/stat.h
parent0b19632a933626af639fb5db084a09b340de99b9 (diff)
downloadFreeBSD-src-0c38fa8e5735040c921c23c18879569c0d6a314b.zip
FreeBSD-src-0c38fa8e5735040c921c23c18879569c0d6a314b.tar.gz
No-op. Change the type of unnamed bit-fields to unsigned to shut up
warnings.
Diffstat (limited to 'sys/sys/stat.h')
-rw-r--r--sys/sys/stat.h12
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
OpenPOWER on IntegriCloud