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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user