fixed n > active_loops case
This commit is contained in:
parent
a7aa28248b
commit
8f6a910b23
2 changed files with 11 additions and 3 deletions
|
@ -281,6 +281,15 @@ grub_abs (int x)
|
|||
return (unsigned int) x;
|
||||
}
|
||||
|
||||
static inline long
|
||||
grub_min (long x, long y)
|
||||
{
|
||||
if (x < y)
|
||||
return x;
|
||||
else
|
||||
return y;
|
||||
}
|
||||
|
||||
static inline long
|
||||
grub_max (long x, long y)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue