commit | 3d27a45f9a536be76175d5a6c4d0d9ed552f8ebb | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu May 10 17:44:18 2007 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Thu May 10 17:44:18 2007 +0000 |
tree | 2b16c46af3e6269ce446fae70131a1afb1b80a8a | |
parent | 044b68f42a945cdccb357ee6bb67d719ba532cd4 [diff] [blame] |
updated for version 7.1b
diff --git a/src/os_unix.c b/src/os_unix.c index beeea3f..2d512b7 100644 --- a/src/os_unix.c +++ b/src/os_unix.c
@@ -490,7 +490,7 @@ /* 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;