From c63e8d6470d8fda7afcc5a46f3ed4c8e4d7b8ffc Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Wed, 26 Feb 2003 14:59:14 +0000 Subject: [PATCH] No-op. Change the type of unnamed bit-fields to unsigned to shut up warnings. --- sys/sys/stat.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/sys/stat.h b/sys/sys/stat.h index ef1d0a1154c..a07b292b6e8 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