summaryrefslogtreecommitdiff
path: root/innobase/include/ut0ut.ic
diff options
context:
space:
mode:
Diffstat (limited to 'innobase/include/ut0ut.ic')
-rw-r--r--innobase/include/ut0ut.ic4
1 files changed, 2 insertions, 2 deletions
diff --git a/innobase/include/ut0ut.ic b/innobase/include/ut0ut.ic
index 9d7dd283f29..9a0ef1c0d5b 100644
--- a/innobase/include/ut0ut.ic
+++ b/innobase/include/ut0ut.ic
@@ -110,7 +110,7 @@ ut_2pow_remainder(
ulint n, /* in: number to be divided */
ulint m) /* in: divisor; power of 2 */
{
- ut_ad(0x80000000 % m == 0);
+ ut_ad(0x80000000UL % m == 0);
return(n & (m - 1));
}
@@ -125,7 +125,7 @@ ut_2pow_round(
ulint n, /* in: number to be rounded */
ulint m) /* in: divisor; power of 2 */
{
- ut_ad(0x80000000 % m == 0);
+ ut_ad(0x80000000UL % m == 0);
return(n & ~(m - 1));
}