amd64 fixes

library fixes


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1247 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc
2005-02-21 16:50:21 +00:00
parent f40265838d
commit 0139bfc33a
11 changed files with 55 additions and 33 deletions

View File

@@ -1661,7 +1661,7 @@ msb(Int inp) /* calculate the most significant bit for an integer */
}
while (off) {
int limit = 1 << (off);
Int limit = 1L << (off);
if (inp >= limit) {
out += off;
inp >>= off;