mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-28 09:20:18 +00:00
Merge r7500 from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7752 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -406,7 +406,7 @@ static inline u32 int_sqrt64(u64 x)
|
||||
|
||||
for (i = 8 * sizeof(r) - 2; i >= 0; i--) {
|
||||
s = r + (1 << i);
|
||||
if (1ll * s * s <= x)
|
||||
if (1ull * s * s <= x)
|
||||
r = s;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user