2009-04-15 Pavel Roskin <proski@gnu.org>
* include/grub/types.h: Rename ULONG_MAX to GRUB_ULONG_MAX and LONG_MAX to GRUB_LONG_MAX. Introduce GRUB_LONG_MIN. Update all users of ULONG_MAX, LONG_MAX and LONG_MIN to use the new definitions.
This commit is contained in:
parent
6b4c4aa38b
commit
41bb0fe9a6
7 changed files with 22 additions and 13 deletions
|
@ -120,7 +120,7 @@ grub_biosdisk_open (const char *name, grub_disk_t disk)
|
|||
{
|
||||
data->flags = GRUB_BIOSDISK_FLAG_LBA | GRUB_BIOSDISK_FLAG_CDROM;
|
||||
data->sectors = 32;
|
||||
total_sectors = ULONG_MAX; /* TODO: get the correct size. */
|
||||
total_sectors = GRUB_ULONG_MAX; /* TODO: get the correct size. */
|
||||
}
|
||||
else if (drive & 0x80)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue