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 2009-04-15 20:45:09 +00:00
parent 6b4c4aa38b
commit 41bb0fe9a6
7 changed files with 22 additions and 13 deletions

View file

@ -604,7 +604,7 @@ grub_raid_scan_device (int head_only)
if (!disk)
return 0;
if (disk->total_sectors == ULONG_MAX)
if (disk->total_sectors == GRUB_ULONG_MAX)
{
grub_disk_close (disk);
return 0;