mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
bitkeeper revision 1.1159.124.1 (4177d127Hy3BcaV44WvSa5mdLDqq8Q)
Avoid compiler warning.
This commit is contained in:
1 parent
f0c92861c4
commit
180d61ce98
1 file changed
+3
-1
@@ -388,6 +388,8 @@ claim_new_pages(unsigned long num_pages)
|
||||
|
||||
static int balloon_try_target(int target)
|
||||
{
|
||||
int change, reclaim;
|
||||
|
||||
if ( target < current_pages )
|
||||
{
|
||||
int change = inflate_balloon(current_pages-target);
|
||||
@@ -400,7 +402,7 @@ static int balloon_try_target(int target)
|
||||
}
|
||||
else if ( target > current_pages )
|
||||
{
|
||||
int change, reclaim = min(target,most_seen_pages) - current_pages;
|
||||
reclaim = min((unsigned long)target,most_seen_pages) - current_pages;
|
||||
|
||||
if ( reclaim )
|
||||
{
|
||||
|
||||