mirror of
https://github.com/MariaDB/server.git
synced 2025-01-21 06:22:28 +01:00
branches/zip:
Cast to ib_uint64_t the mask for align down before doing the '~' operation on it. Reviewed by: Heikki
This commit is contained in:
parent
793b1fe3fb
commit
5c087094e3
1 changed files with 1 additions and 1 deletions
|
@ -274,7 +274,7 @@ ut_uint64_align_down(
|
|||
ut_ad(align_no > 0);
|
||||
ut_ad(ut_is_2pow(align_no));
|
||||
|
||||
return(n & (ib_uint64_t) ~(align_no - 1));
|
||||
return(n & ~((ib_uint64_t) align_no - 1));
|
||||
}
|
||||
|
||||
/************************************************************
|
||||
|
|
Loading…
Reference in a new issue