mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
No-op. Change the type of unnamed bit-fields to unsigned to shut up
warnings.
This commit is contained in:
parent
4b67de3419
commit
c63e8d6470
1 changed files with 6 additions and 6 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue