0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.1b

This commit is contained in:
Bram Moolenaar
2007-05-10 17:44:18 +00:00
parent 044b68f42a
commit 3d27a45f9a
11 changed files with 19 additions and 14 deletions

View File

@@ -490,7 +490,7 @@ mch_total_mem(special)
/* avoid overflow as much as possible */
while (shiftright > 0 && (pagesize & 1) == 0)
{
pagesize = pagesize >> 1;
pagesize = (long_u)pagesize >> 1;
--shiftright;
}
mem = (long_u)pagesize * pagecount;