]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2003-01-16 Yoshinori K. Okuji <okuji@enbug.org>
authorokuji <okuji@localhost>
Wed, 15 Jan 2003 21:44:19 +0000 (21:44 +0000)
committerokuji <okuji@localhost>
Wed, 15 Jan 2003 21:44:19 +0000 (21:44 +0000)
From H.J. Lu <hjl@gnu.org>:
* stage2/disk_io.c (part_start): Use unsigned long to support
large disks.
(part_length): Likewise.
* stage2/shared.h (part_start): Likewise.
(part_length): Likewise.

ChangeLog
stage2/disk_io.c
stage2/shared.h

index b2474813f5c83fa110cf89cc5da482ae16c6a5c0..56a19cdf5e3fa8fa020fb6185e3a628cc3160a2e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2003-01-16  Yoshinori K. Okuji  <okuji@enbug.org>
+
+       From H.J. Lu <hjl@gnu.org>:
+       * stage2/disk_io.c (part_start): Use unsigned long to support
+       large disks.
+       (part_length): Likewise.
+       * stage2/shared.h (part_start): Likewise.
+       (part_length): Likewise.
+
 2003-01-05  Yoshinori K. Okuji  <okuji@enbug.org>
 
        * configure.in (CFLAGS): When the default CFLAGS is used,
index b48c9878ccbaea144db6f916580e1aa360598015..0e54a0209260986a0fe5122b8a8f8c4a9ba3c77c 100644 (file)
@@ -107,8 +107,8 @@ static int block_file = 0;
 #endif /* NO_BLOCK_FILES */
 
 /* these are the translated numbers for the open partition */
-long part_start;
-long part_length;
+unsigned long part_start;
+unsigned long part_length;
 
 int current_slice;
 
index db9ff44f83b1bf01b617b3fd57268490e9425133..14c134adc29669645418aaab74e8f0a40566d27d 100644 (file)
@@ -637,8 +637,8 @@ struct geometry
   unsigned long flags;
 };
 
-extern long part_start;
-extern long part_length;
+extern unsigned long part_start;
+extern unsigned long part_length;
 
 extern int current_slice;