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:
proski committed 2009-04-15 20:45:09 +00:00
1 parent 6b4c4aa38b
commit 41bb0fe9a6
7 files changed
+22 -13

No files matched your search

+1 -1
View File
@@ -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)
{