From 566ee5c323c868aba9bdc6c3d1ad52a3dd7b17e9 Mon Sep 17 00:00:00 2001 From: bde Date: Mon, 8 Jun 1998 09:47:47 +0000 Subject: Fixed pedantic semantics errors (bitfields not of type int, signed int or unsigned int (this doesn't change the struct layout, size or alignment in any of the files changed in this commit, at least for gcc on i386's. Using bitfields of type u_char may affect size and alignment but not packing)). --- sys/netinet/ip_var.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/netinet/ip_var.h') diff --git a/sys/netinet/ip_var.h b/sys/netinet/ip_var.h index d68d2cf..9559a3e 100644 --- a/sys/netinet/ip_var.h +++ b/sys/netinet/ip_var.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)ip_var.h 8.2 (Berkeley) 1/9/95 - * $Id: ip_var.h,v 1.39 1998/06/05 22:40:01 julian Exp $ + * $Id: ip_var.h,v 1.40 1998/06/06 19:39:10 julian Exp $ */ #ifndef _NETINET_IP_VAR_H_ @@ -76,11 +76,11 @@ struct ipq { */ struct ipasfrag { #if BYTE_ORDER == LITTLE_ENDIAN - u_char ip_hl:4, + u_int ip_hl:4, ip_v:4; #endif #if BYTE_ORDER == BIG_ENDIAN - u_char ip_v:4, + u_int ip_v:4, ip_hl:4; #endif u_char ipf_mff; /* XXX overlays ip_tos: use low bit -- cgit v1.1