From 111c756db023bf8ef9846735a86040744813e7b1 Mon Sep 17 00:00:00 2001 From: bde Date: Tue, 7 Jul 1998 04:19:25 +0000 Subject: Don't assume that longs are 32 bits in struct dos_partition. --- sys/sys/disklabel.h | 6 +++--- sys/sys/diskmbr.h | 6 +++--- sys/sys/diskpc98.h | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'sys') diff --git a/sys/sys/disklabel.h b/sys/sys/disklabel.h index d3796a2..2b81d92 100644 --- a/sys/sys/disklabel.h +++ b/sys/sys/disklabel.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)disklabel.h 8.2 (Berkeley) 7/10/94 - * $Id: disklabel.h,v 1.31 1998/02/22 10:11:23 dg Exp $ + * $Id: disklabel.h,v 1.32 1998/06/07 17:12:58 dfr Exp $ */ #ifndef _SYS_DISKLABEL_H_ @@ -370,8 +370,8 @@ struct dos_partition { unsigned char dp_ehd; /* end head */ unsigned char dp_esect; /* end sector */ unsigned char dp_ecyl; /* end cylinder */ - unsigned long dp_start; /* absolute starting sector number */ - unsigned long dp_size; /* partition size in sectors */ + u_int32_t dp_start; /* absolute starting sector number */ + u_int32_t dp_size; /* partition size in sectors */ }; #endif diff --git a/sys/sys/diskmbr.h b/sys/sys/diskmbr.h index d3796a2..2b81d92 100644 --- a/sys/sys/diskmbr.h +++ b/sys/sys/diskmbr.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)disklabel.h 8.2 (Berkeley) 7/10/94 - * $Id: disklabel.h,v 1.31 1998/02/22 10:11:23 dg Exp $ + * $Id: disklabel.h,v 1.32 1998/06/07 17:12:58 dfr Exp $ */ #ifndef _SYS_DISKLABEL_H_ @@ -370,8 +370,8 @@ struct dos_partition { unsigned char dp_ehd; /* end head */ unsigned char dp_esect; /* end sector */ unsigned char dp_ecyl; /* end cylinder */ - unsigned long dp_start; /* absolute starting sector number */ - unsigned long dp_size; /* partition size in sectors */ + u_int32_t dp_start; /* absolute starting sector number */ + u_int32_t dp_size; /* partition size in sectors */ }; #endif diff --git a/sys/sys/diskpc98.h b/sys/sys/diskpc98.h index d3796a2..2b81d92 100644 --- a/sys/sys/diskpc98.h +++ b/sys/sys/diskpc98.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)disklabel.h 8.2 (Berkeley) 7/10/94 - * $Id: disklabel.h,v 1.31 1998/02/22 10:11:23 dg Exp $ + * $Id: disklabel.h,v 1.32 1998/06/07 17:12:58 dfr Exp $ */ #ifndef _SYS_DISKLABEL_H_ @@ -370,8 +370,8 @@ struct dos_partition { unsigned char dp_ehd; /* end head */ unsigned char dp_esect; /* end sector */ unsigned char dp_ecyl; /* end cylinder */ - unsigned long dp_start; /* absolute starting sector number */ - unsigned long dp_size; /* partition size in sectors */ + u_int32_t dp_start; /* absolute starting sector number */ + u_int32_t dp_size; /* partition size in sectors */ }; #endif -- cgit v1.1