summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-07-07 04:19:25 +0000
committerbde <bde@FreeBSD.org>1998-07-07 04:19:25 +0000
commit111c756db023bf8ef9846735a86040744813e7b1 (patch)
tree66083448db45af4618e123160a5f727c3e06d2c9 /sys
parentc0cb9588c8ede9e78d65e52ec2741147e6266dd6 (diff)
downloadFreeBSD-src-111c756db023bf8ef9846735a86040744813e7b1.zip
FreeBSD-src-111c756db023bf8ef9846735a86040744813e7b1.tar.gz
Don't assume that longs are 32 bits in struct dos_partition.
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/disklabel.h6
-rw-r--r--sys/sys/diskmbr.h6
-rw-r--r--sys/sys/diskpc98.h6
3 files changed, 9 insertions, 9 deletions
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
OpenPOWER on IntegriCloud