summaryrefslogtreecommitdiff
path: root/sysutils/extipl/patches/patch-extipl.h
blob: 081eb091648a22b71f28e93bd483afca84f8789c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
$NetBSD: patch-extipl.h,v 1.1 2018/07/21 21:08:03 maya Exp $

64bit support

--- extipl.h.orig	2002-03-25 22:48:52.000000000 +0900
+++ extipl.h
@@ -5,4 +5,6 @@
  */
 
+#include <stdint.h>
+
 #define VERSION			"5.04"
 #define DATE			"2002/03/26"
@@ -40,5 +42,5 @@
 
 typedef unsigned char byte;
-typedef unsigned long long ul_long;
+typedef uint64_t ul_long;
 
 typedef struct hdadr_s {
@@ -53,6 +55,6 @@ typedef struct partition_s {
 	byte	       sysind;
 	hdadr_s        end_chs;
-	unsigned long  sector_offset;
-	unsigned long  nr_sector;
+	uint32_t       sector_offset;
+	uint32_t       nr_sector;
     } partition_s;