From a09bee1aa8be18623062550655f14bba07133f46 Mon Sep 17 00:00:00 2001 From: Bruce Evans 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/dev/scd/scd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev/scd') diff --git a/sys/dev/scd/scd.c b/sys/dev/scd/scd.c index 339ccfd98b489..0494a4935cd61 100644 --- a/sys/dev/scd/scd.c +++ b/sys/dev/scd/scd.c @@ -41,7 +41,7 @@ */ -/* $Id: scd.c,v 1.36 1998/04/15 17:45:48 bde Exp $ */ +/* $Id: scd.c,v 1.37 1998/06/07 17:10:56 dfr Exp $ */ /* Please send any comments to micke@dynas.se */ @@ -125,8 +125,8 @@ static struct scd_data { struct disklabel dlabel; int openflag; struct { - unsigned char adr :4; - unsigned char ctl :4; /* xcdplayer needs this */ + unsigned int adr :4; + unsigned int ctl :4; /* xcdplayer needs this */ unsigned char start_msf[3]; } toc[MAX_TRACKS]; short first_track; -- cgit v1.3