diff options
author | bde <bde@FreeBSD.org> | 1998-06-07 12:00:13 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-06-07 12:00:13 +0000 |
commit | 5b773a9c2c66a8dfb24ad75d391b22a96fd64135 (patch) | |
tree | 4a0bdbba79438055153ad53bdde0947ddfa8f764 /sys/netinet | |
parent | 50b73bbeae3931e6d652a7104dc8f0ab89670d1d (diff) | |
download | FreeBSD-src-5b773a9c2c66a8dfb24ad75d391b22a96fd64135.zip FreeBSD-src-5b773a9c2c66a8dfb24ad75d391b22a96fd64135.tar.gz |
Fixed pedantic semantics errors (bitfields not of type int, signed int
or unsigned int).
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/ip.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/netinet/ip.h b/sys/netinet/ip.h index 9676dee..c5e916b 100644 --- a/sys/netinet/ip.h +++ b/sys/netinet/ip.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)ip.h 8.2 (Berkeley) 6/1/94 - * $Id: ip.h,v 1.13 1997/12/19 23:33:08 bde Exp $ + * $Id: ip.h,v 1.14 1998/02/26 08:31:52 dima Exp $ */ #ifndef _NETINET_IP_H_ @@ -51,11 +51,11 @@ struct ip { u_char ip_vhl; /* version << 4 | header length >> 2 */ #else #if BYTE_ORDER == LITTLE_ENDIAN - u_char ip_hl:4, /* header length */ + u_int ip_hl:4, /* header length */ ip_v:4; /* version */ #endif #if BYTE_ORDER == BIG_ENDIAN - u_char ip_v:4, /* version */ + u_int ip_v:4, /* version */ ip_hl:4; /* header length */ #endif #endif /* not _IP_VHL */ @@ -141,11 +141,11 @@ struct ip_timestamp { u_char ipt_len; /* size of structure (variable) */ u_char ipt_ptr; /* index of current entry */ #if BYTE_ORDER == LITTLE_ENDIAN - u_char ipt_flg:4, /* flags, see below */ + u_int ipt_flg:4, /* flags, see below */ ipt_oflw:4; /* overflow counter */ #endif #if BYTE_ORDER == BIG_ENDIAN - u_char ipt_oflw:4, /* overflow counter */ + u_int ipt_oflw:4, /* overflow counter */ ipt_flg:4; /* flags, see below */ #endif union ipt_timestamp { |