Fixed compiler warning
This commit is contained in:
parent
43007b525e
commit
a75d6dae6f
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ bool can_have_1gb()
|
|||
long long total_phys_mem = mem_info.totalram;
|
||||
total_phys_mem *= mem_info.mem_unit;
|
||||
// Do we have more than 2GB in the system?
|
||||
if (total_phys_mem > 2048 * 1024 * 1024)
|
||||
if (total_phys_mem > 2147483648LL)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue